object dmMed: TdmMed
  OldCreateOrder = True
  OnCreate = DataModuleCreate
  Height = 870
  Width = 799
  object cxEditRepository: TcxEditRepository
    Left = 108
    Top = 12
    object cxEditRepositoryLookupKlientaiKodas: TcxEditRepositoryLookupComboBoxItem
      Properties.DropDownWidth = 500
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          MinWidth = 150
          Width = 150
          FieldName = 'KODAS'
        end
        item
          MinWidth = 350
          Width = 350
          FieldName = 'PAVADINIMAS'
        end>
    end
    object cxEditRepositoryLookupKlientaiPavadinimas: TcxEditRepositoryLookupComboBoxItem
      Properties.DropDownWidth = 500
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          MinWidth = 150
          Width = 150
          FieldName = 'KODAS'
        end
        item
          MinWidth = 350
          Width = 350
          FieldName = 'PAVADINIMAS'
        end>
      Properties.ListFieldIndex = 1
    end
    object cxEditRepositoryLookupMedStoris: TcxEditRepositoryLookupComboBoxItem
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'storis'
      Properties.ListColumns = <
        item
          FieldName = 'storis'
        end>
      Properties.ListSource = dsMedStoris
    end
    object cxEditRepositoryLookupMedPlotis: TcxEditRepositoryLookupComboBoxItem
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'plotis'
      Properties.ListColumns = <
        item
          FieldName = 'plotis'
        end>
      Properties.ListSource = dsMedPlotis
    end
    object cxEditRepositoryLookupMedIlgis: TcxEditRepositoryLookupComboBoxItem
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'ilgis'
      Properties.ListColumns = <
        item
          FieldName = 'ilgis'
        end>
      Properties.ListSource = dsMedIlgis
    end
    object cxEditRepositoryLookupMedRusis: TcxEditRepositoryLookupComboBoxItem
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'rusis'
      Properties.ListColumns = <
        item
          FieldName = 'rusis'
        end>
      Properties.ListSource = dsMedRusis
    end
    object cxEditRepositoryLookupParkStoris: TcxEditRepositoryLookupComboBoxItem
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'storis'
      Properties.ListColumns = <
        item
          FieldName = 'storis'
        end>
      Properties.ListSource = dsMedParkStoris
    end
    object cxEditRepositoryLookupParkPlotis: TcxEditRepositoryLookupComboBoxItem
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'plotis'
      Properties.ListColumns = <
        item
          FieldName = 'plotis'
        end>
      Properties.ListSource = dsMedParkPlotis
    end
    object cxEditRepositoryLookupParkRusis: TcxEditRepositoryLookupComboBoxItem
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'rusis'
      Properties.ListColumns = <
        item
          FieldName = 'rusis'
        end>
      Properties.ListSource = dsMedParkRusis
    end
    object cxEditRepositoryLookupRastStoris: TcxEditRepositoryLookupComboBoxItem
      Properties.KeyFieldNames = 'galas'
      Properties.ListColumns = <
        item
          SortOrder = soAscending
          FieldName = 'galas'
        end>
      Properties.ListSource = dsMedRastStoris
    end
    object cxEditRepositoryLookupRastIlgis: TcxEditRepositoryLookupComboBoxItem
      Properties.KeyFieldNames = 'ilgis'
      Properties.ListColumns = <
        item
          SortOrder = soAscending
          FieldName = 'ilgis'
        end>
      Properties.ListSource = dsMedRastIlgis
    end
    object cxEditRepositoryLookupPartijosNr: TcxEditRepositoryLookupComboBoxItem
      Properties.DropDownListStyle = lsFixedList
      Properties.DropDownSizeable = True
      Properties.DropDownWidth = 300
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'partija'
      Properties.ListColumns = <
        item
          FieldName = 'partija'
        end
        item
          FieldName = 'OPDATA'
        end
        item
          FieldName = 'storis'
        end
        item
          FieldName = 'plotis'
        end>
      Properties.ListSource = dsPartijosLookup
    end
    object cxEditRepositoryPrekesTipas2: TcxEditRepositoryLookupComboBoxItem
      Properties.DropDownAutoSize = True
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'TIPAS'
      Properties.ListColumns = <
        item
          FieldName = 'PAVADINIMAS'
        end>
      Properties.ListSource = dsMedPrekesTipas
    end
    object cxEditRepositoryPrekesTipas: TcxEditRepositoryComboBoxItem
    end
  end
  object dbxMedRastKub: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medRastKub')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 32
    Top = 87
    object dbxMedRastKubgalas: TFloatField
      DisplayLabel = 'R'#261'sto galas, m'
      FieldName = 'galas'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedRastKubilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedRastKubturis: TFloatField
      DisplayLabel = 'T'#363'ris, m3'
      FieldName = 'turis'
    end
  end
  object dspMedRastKub: TDataSetProvider
    DataSet = dbxMedRastKub
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 40
    Top = 101
  end
  object tbMedRastKub: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedRastKub'
    Left = 54
    Top = 114
    object tbMedRastKubgalas: TFloatField
      DisplayLabel = 'R'#261'sto galas, m'
      FieldName = 'galas'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedRastKubilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedRastKubturis: TFloatField
      DisplayLabel = 'T'#363'ris, m'#179
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dsMedRastKub: TDataSource
    DataSet = tbMedRastKub
    Left = 64
    Top = 125
  end
  object dbxMedStoris: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medStoris')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 112
    Top = 87
    object dbxMedStorisstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dspMedStoris: TDataSetProvider
    DataSet = dbxMedStoris
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 120
    Top = 101
  end
  object tbMedStoris: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedStoris'
    Left = 126
    Top = 114
    object tbMedStorisstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dsMedStoris: TDataSource
    DataSet = tbMedStoris
    Left = 136
    Top = 125
  end
  object dbxMedPlotis: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medPlotis')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 176
    Top = 87
    object FloatField1: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dspMedPlotis: TDataSetProvider
    DataSet = dbxMedPlotis
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 184
    Top = 101
  end
  object tbMedPlotis: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedPlotis'
    Left = 190
    Top = 114
    object tbMedPlotisplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dsMedPlotis: TDataSource
    DataSet = tbMedPlotis
    Left = 200
    Top = 125
  end
  object dbxMedIlgis: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medIlgis')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 240
    Top = 87
    object FloatField3: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dspMedIlgis: TDataSetProvider
    DataSet = dbxMedIlgis
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 248
    Top = 101
  end
  object tbMedIlgis: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedIlgis'
    Left = 254
    Top = 114
    object tbMedIlgisilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dsMedIlgis: TDataSource
    DataSet = tbMedIlgis
    Left = 264
    Top = 125
  end
  object dbxMedRusis: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medRusis')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 304
    Top = 87
    object dbxMedRusisrusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
  end
  object dspMedRusis: TDataSetProvider
    DataSet = dbxMedRusis
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 312
    Top = 101
  end
  object tbMedRusis: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedRusis'
    Left = 318
    Top = 114
    object tbMedRusisrusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
  end
  object dsMedRusis: TDataSource
    DataSet = tbMedRusis
    Left = 328
    Top = 125
  end
  object dbxMedParkStoris: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medParkStoris')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 368
    Top = 87
    object FloatField2: TFloatField
      DisplayLabel = 'Storis, mm'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0'
      EditFormat = '0.0'
    end
  end
  object dspMedParkStoris: TDataSetProvider
    DataSet = dbxMedParkStoris
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 376
    Top = 101
  end
  object tbMedParkStoris: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedParkStoris'
    Left = 382
    Top = 114
    object tbMedParkStorisstoris: TFloatField
      DisplayLabel = 'Storis, mm'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0'
      EditFormat = '0.0'
    end
  end
  object dsMedParkStoris: TDataSource
    DataSet = tbMedParkStoris
    Left = 392
    Top = 125
  end
  object dbxMedParkPlotis: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medParkPlotis')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 432
    Top = 87
    object FloatField4: TFloatField
      DisplayLabel = 'Plotis, mm'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0'
      EditFormat = '0.0'
    end
  end
  object dspMedParkPlotis: TDataSetProvider
    DataSet = dbxMedParkPlotis
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 440
    Top = 101
  end
  object tbMedParkPlotis: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedParkPlotis'
    Left = 446
    Top = 114
    object tbMedParkPlotisplotis: TFloatField
      DisplayLabel = 'Plotis, mm'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0'
      EditFormat = '0.0'
    end
  end
  object dsMedParkPlotis: TDataSource
    DataSet = tbMedParkPlotis
    Left = 456
    Top = 125
  end
  object dbxMedParkRusis: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT *'
      'FROM medParkRusis')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 496
    Top = 87
    object StringField1: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
  end
  object dspMedParkRusis: TDataSetProvider
    DataSet = dbxMedParkRusis
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 504
    Top = 101
  end
  object tbMedParkRusis: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedParkRusis'
    Left = 510
    Top = 114
    object StringField2: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
  end
  object dsMedParkRusis: TDataSource
    DataSet = tbMedParkRusis
    Left = 520
    Top = 125
  end
  object dbxMedPirkS: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDARBID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
        Value = 36774d
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
        Value = 36774d
      end
      item
        DataType = ftInteger
        Name = 'Tiekejas'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'TIEKEJAS'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'Atsakingas'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'ATSAKINGAS'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'DEPART'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'Nr'
        ParamType = ptInput
        Value = '%'
      end
      item
        DataType = ftString
        Name = 'PrekGrupe'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT M.*,'
      
        '(SELECT SUM(turis*kiekis) FROM MEDPIRKIMU_IRASAI WHERE MEDPIRKIM' +
        'U_IRASAI.ID = M.ID) AS TURIS,'
      
        '(SELECT SUM(plotas*kiekis) FROM MEDPIRKIMU_IRASAI WHERE MEDPIRKI' +
        'MU_IRASAI.ID = M.ID) AS PLOTAS,'
      ' M.OPDATA + M.MOKDIENA AS MOKDATA,'
      ' F.KODAS AS T_KODAS,'
      ' F.IKODAS AS T_IKODAS,'
      ' F.PVMKODAS AS T_PVMKODAS,'
      ' F.PAVADINIMAS AS T_PAVADINIMAS,'
      ' F.SALIS AS T_SALISA2,'
      ' S.A3 AS T_SALISA3,'
      ' S.COUNTRY AS T_SALISCOUNTRY,'
      ' S.PAVADINIMAS AS T_SALISPAVADINIMAS,'
      ' F.MIESTAS AS T_MIESTAS,'
      ' F.INDEKSAS AS T_INDEKSAS,'
      ' F.ADRESAS AS T_ADRESAS,'
      ' DA.PAVARDE AS A_PAVARDE,  DA.PAREIGOS AS A_PAREIGOS,'
      ' Z.PATVIRTINTA, Z.TURINYS'
      ', Z.SDATA AS ZS_DATA, Z.SLAIKAS AS ZS_LAIKAS'
      ', Z.TDATA AS ZT_DATA, Z.TLAIKAS AS ZT_LAIKAS'
      ', ZS.PAVARDE AS ZS_PAVARDE, ZT.PAVARDE AS ZT_PAVARDE'
      ',Z.SDARBID'
      ''
      ',DEP.FID AS DEPFID'
      ',FDEP.KODAS AS DEPKODAS'
      ',FDEP.IKODAS AS DEPIKODAS'
      ',FDEP.PVMKODAS AS DEPPVMKODAS'
      ',FDEP.PAVADINIMAS AS DEPPAVADINIMAS'
      ',DEP.KF AS DEPKF'
      ''
      ',FS.KODAS AS FSKODAS'
      ',FS.PAVADINIMAS AS FSPAVADINIMAS'
      ',FS.BIUDZETAS AS FSBIUDZETAS'
      ''
      'FROM MEDPIRKIMAI M'
      'LEFT OUTER JOIN FIRMOS F ON (F.ID = M.TIEKEJAS)'
      'LEFT OUTER JOIN SALYS S ON (S.A2 = F.SALIS)'
      'LEFT OUTER JOIN DARBUOTOJAI DA ON (DA.ID = M.ATSAKINGAS)'
      'LEFT OUTER JOIN ZURNALAI Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN DARBUOTOJAI ZS ON (ZS.ID = Z.SDARBID)'
      'LEFT OUTER JOIN DARBUOTOJAI ZT ON (ZT.ID = Z.TDARBID)'
      ''
      'LEFT OUTER JOIN DEPART DEP ON (DEP.ID = M.DEPID)'
      'LEFT OUTER JOIN FIRMOS FDEP ON (FDEP.ID = DEP.FID)'
      ''
      'LEFT OUTER JOIN FS FS ON (FS.ID = M.FSID)'
      ''
      
        'WHERE ((Z.SDARBID IS NULL)  OR ((0) >= :SDARBID) OR (Z.SDARBID =' +
        ' :SDARBID))'
      'AND ('
      '(M.ID= :ID) OR (Z.PATVIRTINTA <> '#39'+'#39') OR'
      ' ((M.OPDATA BETWEEN :DATANUO AND :DATAIKI) AND'
      ' ((M.TIEKEJAS = :TIEKEJAS) OR ((0) >= :TIEKEJAS )) AND'
      ' ((M.ATSAKINGAS = :ATSAKINGAS) OR ((0) >= :ATSAKINGAS)) AND'
      ' ((M.DEPID = :DEPART) OR ((0) >= :DEPART)) AND'
      ' (M.NR LIKE :NR) AND'
      ' (M.PREKGRUPE LIKE :PrekGrupe))'
      ')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 26
    Top = 181
  end
  object dspMedPirkS: TDataSetProvider
    DataSet = dbxMedPirkS
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 40
    Top = 195
  end
  object tbMedPirkS: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    IndexFieldNames = 'OPDATA;NR'
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
        Value = 36774d
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
        Value = 36774d
      end
      item
        DataType = ftInteger
        Name = 'Tiekejas'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Tiekejas'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Atsakingas'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Atsakingas'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftString
        Name = 'Nr'
        ParamType = ptInput
        Value = '%'
      end
      item
        DataType = ftString
        Name = 'PrekGrupe'
        ParamType = ptInput
      end>
    ProviderName = 'dspMedPirkS'
    Left = 97
    Top = 180
    object IntegerField25: TIntegerField
      FieldName = 'ID'
      Visible = False
    end
    object DateField6: TDateField
      Tag = 1
      DisplayLabel = 'Data'
      DisplayWidth = 13
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField70: TWideStringField
      Tag = 1
      DisplayWidth = 10
      FieldName = 'NR'
      Required = True
    end
    object IntegerField26: TIntegerField
      FieldName = 'TIEKEJAS'
      Required = True
      Visible = False
    end
    object StringField71: TWideStringField
      Tag = 1
      DisplayLabel = 'Kodas'
      DisplayWidth = 13
      FieldName = 'T_KODAS'
      ProviderFlags = [pfInWhere]
      Size = 10
    end
    object StringField72: TWideStringField
      Tag = 1
      DisplayLabel = #302'm.kodas'
      DisplayWidth = 10
      FieldName = 'T_IKODAS'
      ProviderFlags = [pfInWhere]
    end
    object tbMedPirkST_PVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'PVM mok.kodas'
      DisplayWidth = 12
      FieldName = 'T_PVMKODAS'
      Visible = False
    end
    object StringField73: TWideStringField
      Tag = 1
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'T_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 120
    end
    object tbMedPirkSGavSalisA2: TWideStringField
      Tag = 1
      DisplayLabel = #352'alies kodas A2'
      FieldName = 'T_SALISA2'
      ProviderFlags = []
      Size = 2
    end
    object tbMedPirkSGavSalisA3: TWideStringField
      Tag = 1
      DisplayLabel = #352'alies kodas A3'
      FieldName = 'T_SALISA3'
      ProviderFlags = []
      Size = 3
    end
    object tbMedPirkSGavSalisPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = #352'alis'
      FieldName = 'T_SALISPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkSGavSalisCountry: TWideStringField
      Tag = 1
      DisplayLabel = 'Country'
      FieldName = 'T_SALISCOUNTRY'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkSGavMiestas: TWideStringField
      Tag = 1
      DisplayLabel = 'Miestas'
      FieldName = 'T_MIESTAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkSGavIndeksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Indeksas'
      FieldName = 'T_INDEKSAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField74: TWideStringField
      Tag = 1
      DisplayLabel = 'Adresas'
      FieldName = 'T_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object tbMedPirkSAtsakingas: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object tbMedPirkSA_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Size = 50
    end
    object tbMedPirkSA_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object DateField7: TDateField
      Tag = 1
      DisplayLabel = '$ Data'
      DisplayWidth = 13
      FieldName = 'VALDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedPirkSValNASuma: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ N/A Suma'
      DisplayWidth = 6
      FieldName = 'VALNASUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object FMTBCDField6: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ Suma'
      DisplayWidth = 9
      FieldName = 'VALSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object FMTBCDField7: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ PVM Suma'
      DisplayWidth = 9
      FieldName = 'VALPVMSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object BCDField3: TBCDField
      Tag = 1
      DisplayLabel = '$ Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'VALVISO'
      ProviderFlags = [pfInWhere]
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object StringField75: TWideStringField
      Tag = 1
      DisplayLabel = '$'
      DisplayWidth = 4
      FieldName = 'VALIUTA'
      Required = True
      Size = 3
    end
    object FloatField5: TFloatField
      Tag = 1
      DisplayLabel = '$ Kursas'
      DisplayWidth = 5
      FieldKind = fkInternalCalc
      FieldName = 'VLT_KURSAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object FloatField6: TFloatField
      FieldKind = fkInternalCalc
      FieldName = 'VLT_D'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object IntegerField27: TIntegerField
      Tag = 1
      DisplayLabel = '$ Daugiklis'
      DisplayWidth = 3
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DAUGIKLIS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object FMTBCDField8: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      DisplayWidth = 9
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object FMTBCDField9: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.PVM Suma'
      DisplayWidth = 9
      FieldName = 'BAZPVMSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object BCDField4: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'BAZVISO'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object StringField76: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object StringField77: TWideStringField
      Tag = 1
      DisplayWidth = 9
      FieldName = 'IMPORTAS'
      Visible = False
      Size = 1
    end
    object IntegerField28: TIntegerField
      Tag = 1
      DisplayLabel = 'Mok.diena'
      FieldName = 'MOKDIENA'
      Visible = False
    end
    object tbMedPirkSMokData: TDateField
      DisplayLabel = 'Mok.data'
      FieldName = 'MOKDATA'
      ProviderFlags = []
    end
    object StringField78: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField79: TWideStringField
      DisplayWidth = 129
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object tbMedPirkSSDarbID: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object tbMedPirkSSData: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object tbMedPirkSSLaikas: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object tbMedPirkSZS_Pavarde: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object tbMedPirkSZT_Data: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object tbMedPirkSZT_Laikas: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object tbMedPirkSZT_Pavarde: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object tbMedPirkSAvansas: TWideStringField
      FieldName = 'AVANSAS'
      Size = 1
    end
    object tbMedPirkSDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object tbMedPirkSDepFID: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object tbMedPirkSDepKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbMedPirkSDepIKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object tbMedPirkSDepPVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object tbMedPirkSDepPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object tbMedPirkSDepKF: TWideStringField
      DisplayLabel = 'Pad.kodas/funkcija'
      FieldName = 'DEPKF'
      ProviderFlags = []
    end
    object tbMedPirkSFSID: TIntegerField
      FieldName = 'FSID'
    end
    object tbMedPirkSFSKodas: TWideStringField
      DisplayLabel = 'F.S.Kodas'
      FieldName = 'FSKODAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkSFSPavadinimas: TWideStringField
      DisplayLabel = 'F.S.Pavadinimas'
      FieldName = 'FSPAVADINIMAS'
      ProviderFlags = []
      Size = 250
    end
    object tbMedPirkSFSBiudzetas: TWideStringField
      DisplayLabel = 'F.S.Biudzetas'
      FieldName = 'FSBIUDZETAS'
      ProviderFlags = []
      Size = 1
    end
    object tbMedPirkSBendrKiekis: TFloatField
      FieldName = 'BendrKiekis'
    end
    object tbMedPirkSTransIsl: TFloatField
      FieldName = 'TransIsl'
    end
    object tbMedPirkSPrekGrupe: TWideStringField
      FieldName = 'PrekGrupe'
      Size = 1
    end
    object tbMedPirkSTURIS: TFloatField
      FieldName = 'TURIS'
    end
    object tbMedPirkSPLOTAS: TFloatField
      FieldName = 'PLOTAS'
    end
    object AggregateField7: TAggregateField
      FieldName = 'SUM_BAZSUMA'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazSuma)'
    end
    object AggregateField8: TAggregateField
      FieldName = 'SUM_BAZPVMSUMA'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazPVMSuma)'
    end
    object AggregateField9: TAggregateField
      FieldName = 'SUM_BAZVISO'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazViso)'
    end
  end
  object dsMedPirkS: TDataSource
    DataSet = tbMedPirkS
    Left = 109
    Top = 193
  end
  object dbxMedPirkimai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' Z.PATVIRTINTA, Z.TURINYS'
      'FROM MEDPIRKIMAI M'
      'LEFT OUTER JOIN ZURNALAI Z ON (Z.ID = M.ID)'
      'WHERE (M.ID= :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 192
    Top = 183
    object dbxMedPirkimaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedPirkimaiOpData: TDateField
      FieldName = 'OPDATA'
    end
    object dbxMedPirkimaiNr: TWideStringField
      FieldName = 'NR'
    end
    object dbxMedPirkimaiTiekejas: TIntegerField
      FieldName = 'TIEKEJAS'
    end
    object dbxMedPirkimaiValiuta: TWideStringField
      FieldName = 'VALIUTA'
      FixedChar = True
      Size = 3
    end
    object dbxMedPirkimaiValData: TDateField
      FieldName = 'VALDATA'
    end
    object dbxMedPirkimaiBazSuma: TFMTBCDField
      FieldName = 'BAZSUMA'
      Precision = 15
      Size = 2
    end
    object dbxMedPirkimaiBazPVMSuma: TFMTBCDField
      FieldName = 'BAZPVMSUMA'
      Precision = 15
      Size = 2
    end
    object dbxMedPirkimaiImportas: TWideStringField
      FieldName = 'IMPORTAS'
      FixedChar = True
      Size = 1
    end
    object dbxMedPirkimaiValSuma: TFMTBCDField
      FieldName = 'VALSUMA'
      Precision = 15
      Size = 2
    end
    object dbxMedPirkimaiValPVMSuma: TFMTBCDField
      FieldName = 'VALPVMSUMA'
      Precision = 15
      Size = 2
    end
    object dbxMedPirkimaiMokDiena: TIntegerField
      FieldName = 'MOKDIENA'
    end
    object dbxMedPirkimaiBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      FixedChar = True
      Size = 3
    end
    object dbxMedPirkimaiValNASuma: TFMTBCDField
      FieldName = 'VALNASUMA'
      Precision = 15
      Size = 2
    end
    object dbxMedPirkimaiAtsakingas: TIntegerField
      FieldName = 'ATSAKINGAS'
    end
    object dbxMedPirkimaiPatvirtinta: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedPirkimaiTurinys: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Size = 100
    end
    object dbxMedPirkimaiSKod: TWideStringField
      FieldName = 'SKOD'
      Size = 2
    end
    object dbxMedPirkimaiSalis: TWideStringField
      FieldName = 'SALIS'
      Size = 2
    end
    object dbxMedPirkimaiPSKod: TWideStringField
      FieldName = 'PSKOD'
      Size = 3
    end
    object dbxMedPirkimaiTrKod: TWideStringField
      FieldName = 'TRKOD'
      Size = 1
    end
    object dbxMedPirkimaiAvansas: TWideStringField
      FieldName = 'AVANSAS'
      Size = 1
    end
    object dbxMedPirkimaiDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object dbxMedPirkimaiFSID: TIntegerField
      FieldName = 'FSID'
    end
    object dbxMedPirkimaiBendrKiekis: TFloatField
      FieldName = 'BendrKiekis'
    end
    object dbxMedPirkimaiPrekGrupe: TWideStringField
      FieldName = 'PrekGrupe'
      Size = 1
    end
    object dbxMedPirkimaiTransIsl: TFloatField
      FieldName = 'TransIsl'
    end
  end
  object dsxMedPirkimai: TDataSource
    DataSet = dbxMedPirkimai
    Left = 207
    Top = 194
  end
  object dbxMedPirkIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedPirkimai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.FIRMOSID,'
      ' P.GRUPESID,'
      ' P.KODAS,'
      ' P.BKODAS,'
      ' P.PAVADINIMAS,'
      ' P.MATAS,'
      ' P.GKODAS,'
      ' P.EKAKODAS,'
      ' P.EKAPAVADINIMAS,'
      ' P.MVKODAS, P.KNKODAS,'
      ' P.NETTO, P.BRUTTO,'
      ' PG.T,'
      ' PG.PAVADINIMAS AS GRPAVADINIMAS,'
      ' PG.PVM,'
      ' PG.PRPSL,'
      ' A.BAZVALIUTA,'
      ' A.VALIUTA,'
      ' A.VALDATA,'
      ' A.IMPORTAS,'
      ' A.VALPVMSUMA AS AVALPVMSUMA,'
      ' S.PAVADINIMAS AS SAN_PAVADINIMAS'
      ''
      ',DEP.FID AS DEPFID'
      ',FDEP.KODAS AS DEPKODAS'
      ',FDEP.IKODAS AS DEPIKODAS'
      ',FDEP.PVMKODAS AS DEPPVMKODAS'
      ',FDEP.PAVADINIMAS AS DEPPAVADINIMAS'
      ''
      ',FS.KODAS AS FSKODAS'
      ',FS.PAVADINIMAS AS FSPAVADINIMAS'
      ',FS.BIUDZETAS AS FSBIUDZETAS'
      ''
      'FROM MEDPIRKIMU_IRASAI M'
      'INNER JOIN MEDPIRKIMAI A ON (A.ID = M.ID)'
      'INNER JOIN PREKES P ON (M.PREKESID = P.ID)'
      'INNER JOIN PREKIU_GRUPES PG ON (P.GRUPESID = PG.ID)'
      'LEFT OUTER JOIN SANDELIAI S ON (S.ID = M.SANDELYS)'
      ''
      'LEFT OUTER JOIN DEPART DEP ON (DEP.ID = M.DEPID)'
      'LEFT OUTER JOIN FIRMOS FDEP ON (FDEP.ID = DEP.FID)'
      ''
      'LEFT OUTER JOIN FS FS ON (FS.ID = M.FSID)'
      ''
      'WHERE (M.ID = :ID)'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 286
    Top = 182
    object dbxMedPirkIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedPirkIrasaiNr: TSmallintField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedPirkIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object dbxMedPirkIrasaiSandelys: TIntegerField
      FieldName = 'SANDELYS'
    end
    object dbxMedPirkIrasaiKiekis: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxMedPirkIrasaiValKaina: TFMTBCDField
      FieldName = 'VALKAINA'
      Precision = 15
      Size = 4
    end
    object dbxMedPirkIrasaiBazSavikaina: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxMedPirkIrasaiMID: TIntegerField
      FieldName = 'MID'
    end
    object dbxMedPirkIrasaiBazKaina: TFMTBCDField
      FieldName = 'BAZKAINA'
      Precision = 15
      Size = 4
    end
    object dbxMedPirkIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiKodas: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiBKodas: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object dbxMedPirkIrasaiPavadinimas: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object dbxMedPirkIrasaiMatas: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedPirkIrasaiGKodas: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedPirkIrasaiEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedPirkIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedPirkIrasaiBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object dbxMedPirkIrasaiValiuta: TWideStringField
      FieldName = 'VALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object dbxMedPirkIrasaiValData: TDateField
      FieldName = 'VALDATA'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiSan_Pavadinimas: TWideStringField
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxMedPirkIrasaiFirmosID: TIntegerField
      FieldName = 'FIRMOSID'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiT: TWideStringField
      FieldName = 'T'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedPirkIrasaiImportas: TWideStringField
      FieldName = 'IMPORTAS'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedPirkIrasaiAValPVMSuma: TFMTBCDField
      FieldName = 'AVALPVMSUMA'
      ProviderFlags = []
      Precision = 15
      Size = 2
    end
    object dbxMedPirkIrasaiBrutto: TFloatField
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiKNKodas: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object dbxMedPirkIrasaiMVKodas: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object dbxMedPirkIrasaiDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object dbxMedPirkIrasaiDepFID: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiDepKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object dbxMedPirkIrasaiDepIKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiDepPVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object dbxMedPirkIrasaiDepPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object dbxMedPirkIrasaiFSID: TIntegerField
      FieldName = 'FSID'
    end
    object dbxMedPirkIrasaiFSKodas: TWideStringField
      DisplayLabel = 'F.S.Kodas'
      FieldName = 'FSKODAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedPirkIrasaiFSPavadinimas: TWideStringField
      DisplayLabel = 'F.S.Pavadinimas'
      FieldName = 'FSPAVADINIMAS'
      ProviderFlags = []
      Size = 250
    end
    object dbxMedPirkIrasaiFSBiudzetas: TWideStringField
      DisplayLabel = 'F.S.Biudzetas'
      FieldName = 'FSBIUDZETAS'
      ProviderFlags = []
      Size = 1
    end
    object dbxMedPirkIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
    end
    object dbxMedPirkIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object dbxMedPirkIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedPirkIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedPirkIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedPirkIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedPirkIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedPirkIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedPirkIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedPirkIrasaisn: TIntegerField
      FieldName = 'sn'
    end
    object dbxMedPirkIrasaiPatvirtinta: TWideStringField
      FieldName = 'Patvirtinta'
      Size = 1
    end
  end
  object dsxMedPirkIrasai: TDataSource
    DataSet = dbxMedPirkIrasai
    Left = 296
    Top = 193
  end
  object dspMedPirkimai: TDataSetProvider
    DataSet = dbxMedPirkimai
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 374
    Top = 187
  end
  object tbMedPirkimai: TGamaClientDataSet
    Aggregates = <>
    AutoCalcFields = False
    IndexFieldNames = 'OPDATA;NR'
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedPirkimai'
    Left = 449
    Top = 186
    object tbMedPirkimaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedPirkimaiOpData: TDateField
      Tag = 1
      DisplayLabel = 'Data'
      DisplayWidth = 13
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedPirkimaiNr: TWideStringField
      Tag = 1
      DisplayWidth = 10
      FieldName = 'NR'
      Required = True
    end
    object tbMedPirkimaiTiekejas: TIntegerField
      FieldName = 'TIEKEJAS'
      Required = True
      Visible = False
    end
    object tbMedPirkimaiT_IKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Tiek'#279'jo '#303'm.kodas'
      DisplayWidth = 7
      FieldKind = fkInternalCalc
      FieldName = 'T_IKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbMedPirkimaiKliento_PVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Tiek'#279'jo PVM kodas'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'T_PVMKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbMedPirkimaiKliento_Kodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Tiek'#279'jo kodas'
      FieldKind = fkInternalCalc
      FieldName = 'T_KODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbMedPirkimaiKliento_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Tiek'#279'jo pavadinimas'
      DisplayWidth = 20
      FieldKind = fkInternalCalc
      FieldName = 'T_PAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object tbMedPirkimaiT_SalisA2: TWideStringField
      Tag = 1
      DisplayLabel = #352'alies kodas A2'
      FieldKind = fkInternalCalc
      FieldName = 'T_SALISA2'
      ProviderFlags = []
      Size = 2
    end
    object tbMedPirkimaiT_SalisA3: TWideStringField
      Tag = 1
      DisplayLabel = #352'alies kodas A3'
      FieldKind = fkInternalCalc
      FieldName = 'T_SALISA3'
      ProviderFlags = []
      Size = 3
    end
    object tbMedPirkimaiT_SalisPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = #352'alis'
      FieldKind = fkInternalCalc
      FieldName = 'T_SALISPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkimaiT_SalisCountry: TWideStringField
      Tag = 1
      DisplayLabel = 'Country'
      FieldKind = fkInternalCalc
      FieldName = 'T_SALISCOUNTRY'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkimaiT_Miestas: TWideStringField
      Tag = 1
      DisplayLabel = 'Miestas'
      FieldKind = fkInternalCalc
      FieldName = 'T_MIESTAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkimaiT_Indeksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Indeksas'
      FieldKind = fkInternalCalc
      FieldName = 'T_INDEKSAS'
      ProviderFlags = []
      Size = 10
    end
    object tbMedPirkimaiKliento_Adresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Tiek'#279'jo adresas'
      DisplayWidth = 20
      FieldKind = fkInternalCalc
      FieldName = 'T_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbMedPirkimaiAtsakingas: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object tbMedPirkimaiA_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Size = 50
    end
    object tbMedPirkimaiA_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object tbMedPirkimaiValData: TDateField
      Tag = 1
      DisplayLabel = '$ Data'
      DisplayWidth = 13
      FieldName = 'VALDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedPirkimaiValNASuma: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ N/A Suma'
      DisplayWidth = 7
      FieldName = 'VALNASUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiValSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ Suma'
      DisplayWidth = 9
      FieldName = 'VALSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiValPVMSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ PVM Suma'
      DisplayWidth = 9
      FieldName = 'VALPVMSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiValViso: TBCDField
      Tag = 1
      DisplayLabel = '$ Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'VALVISO'
      ProviderFlags = [pfInWhere]
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiValiuta: TWideStringField
      Tag = 1
      DisplayLabel = '$'
      DisplayWidth = 4
      FieldName = 'VALIUTA'
      Required = True
      Size = 3
    end
    object tbMedPirkimaiVlt_Pavad: TWideStringField
      Tag = 1
      DisplayLabel = '$ pavadinimas'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_PAVAD'
      Visible = False
    end
    object tbMedPirkimaiVlt_Dalis: TWideStringField
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DALIS'
      Visible = False
      Size = 10
    end
    object tbMedPirkimaiVlt_Kursas: TFloatField
      Tag = 1
      DisplayLabel = '$ Kursas'
      DisplayWidth = 5
      FieldKind = fkInternalCalc
      FieldName = 'VLT_KURSAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbMedPirkimaiVlt_D: TFloatField
      FieldKind = fkInternalCalc
      FieldName = 'VLT_D'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbMedPirkimaiVlt_Daugiklis: TIntegerField
      Tag = 1
      DisplayLabel = '$ Daugiklis'
      DisplayWidth = 3
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DAUGIKLIS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbMedPirkimaiBazNASuma: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.N/A Suma'
      FieldKind = fkInternalCalc
      FieldName = 'BAZNASUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      DisplayWidth = 9
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiPVMSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.PVM Suma'
      DisplayWidth = 9
      FieldName = 'BAZPVMSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiViso: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'BAZVISO'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkimaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object tbMedPirkimaiImportas: TWideStringField
      Tag = 1
      DisplayWidth = 9
      FieldName = 'IMPORTAS'
      Visible = False
      Size = 1
    end
    object tbMedPirkimaiMokDiena: TIntegerField
      Tag = 1
      DisplayLabel = 'Mok.diena'
      FieldName = 'MOKDIENA'
      Visible = False
    end
    object tbMedPirkimaiMokData: TDateField
      DisplayLabel = 'Mok.data'
      FieldKind = fkInternalCalc
      FieldName = 'MOKDATA'
      ProviderFlags = []
    end
    object tbMedPirkimaiPatvirtinta: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbMedPirkimaiTurinys: TWideStringField
      DisplayWidth = 129
      FieldName = 'TURINYS'
      ProviderFlags = []
      Visible = False
      Size = 100
    end
    object tbMedPirkimaiSKod: TWideStringField
      FieldName = 'SKOD'
      Size = 2
    end
    object tbMedPirkimaiSalis: TWideStringField
      FieldName = 'SALIS'
      Size = 2
    end
    object tbMedPirkimaiPSKod: TWideStringField
      FieldName = 'PSKOD'
      Size = 3
    end
    object tbMedPirkimaiTrKod: TWideStringField
      FieldName = 'TRKOD'
      Size = 1
    end
    object tbMedPirkimaiAvansas: TWideStringField
      FieldName = 'AVANSAS'
      Size = 1
    end
    object tbMedPirkimaiTK: TWideStringField
      FieldKind = fkInternalCalc
      FieldName = 'TK'
      Visible = False
      Size = 1
    end
    object tbMedPirkimaidbxMedPirkIrasai: TDataSetField
      FieldName = 'DBXMEDPIRKIRASAI'
      Visible = False
    end
    object tbMedPirkimaiDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object tbMedPirkimaiFSID: TIntegerField
      FieldName = 'FSID'
    end
    object tbMedPirkimaiBendrKiekis: TFloatField
      DisplayLabel = 'Bendras Kiekis'
      FieldName = 'BendrKiekis'
    end
    object tbMedPirkimaiPrekGrupe: TWideStringField
      FieldName = 'PrekGrupe'
      Size = 1
    end
    object tbMedPirkimaiTRANSISL: TFloatField
      FieldName = 'TransIsl'
    end
    object tbMedPirkimaiSum_BazSuma: TAggregateField
      FieldName = 'SUM_BAZSUMA'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazSuma)'
    end
    object tbMedPirkimaiSum_BazPVMSuma: TAggregateField
      FieldName = 'SUM_BAZPVMSUMA'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazPVMSuma)'
    end
    object tbMedPirkimaiSum_BazViso: TAggregateField
      FieldName = 'SUM_BAZVISO'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazViso)'
    end
  end
  object dsMedPirkimai: TDataSource
    DataSet = tbMedPirkimai
    Left = 461
    Top = 199
  end
  object tbMedPirkIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    DataSetField = tbMedPirkimaidbxMedPirkIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 529
    Top = 186
    object tbMedPirkIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedPirkIrasaiENr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object tbMedPirkIrasaiNr: TSmallintField
      DisplayLabel = 'Nr'
      DisplayWidth = 5
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedPirkIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
      Required = True
      Visible = False
    end
    object tbMedPirkIrasaiKiekis: TFloatField
      Tag = 1
      DisplayLabel = 'Kiekis'
      DisplayWidth = 7
      FieldName = 'KIEKIS'
      Required = True
    end
    object tbMedPirkIrasaiValKaina: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ Kaina'
      DisplayWidth = 8
      FieldName = 'VALKAINA'
      Required = True
      DisplayFormat = '#,##0.00'
      EditFormat = '###0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkIrasaiValKainaPVM: TCurrencyField
      FieldKind = fkInternalCalc
      FieldName = 'VALKAINAPVM'
    end
    object tbMedPirkIrasaiValKainaSuPVM: TCurrencyField
      FieldKind = fkInternalCalc
      FieldName = 'VALKAINASUPVM'
    end
    object tbMedPirkIrasaiValSuma: TBCDField
      Tag = 1
      DisplayLabel = '$ Suma'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'VALSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkIrasaiPVM: TFloatField
      DisplayWidth = 2
      FieldKind = fkInternalCalc
      FieldName = 'PVMCALC'
      Visible = False
      DisplayFormat = '# %'
    end
    object tbMedPirkIrasaiPVMTarifas: TFloatField
      Tag = 1
      DisplayLabel = 'PVM'
      DisplayWidth = 4
      FieldKind = fkInternalCalc
      FieldName = 'PVMTARIFAS'
      DisplayFormat = '# %;-;-'
    end
    object tbMedPirkIrasaiValPVMSuma: TBCDField
      Tag = 1
      DisplayLabel = '$ PVM Suma'
      DisplayWidth = 6
      FieldKind = fkInternalCalc
      FieldName = 'VALPVMSUMA'
      DisplayFormat = '#,##0.00;-;(#,##0.00)'
      Precision = 12
      Size = 2
    end
    object tbMedPirkIrasaiValViso: TBCDField
      Tag = 1
      DisplayLabel = '$ Viso'
      DisplayWidth = 6
      FieldKind = fkInternalCalc
      FieldName = 'VALVISO'
      Visible = False
      DisplayFormat = '#,##0.00;-;(#,##0.00)'
      Precision = 12
      Size = 2
    end
    object tbMedPirkIrasaiValiuta: TWideStringField
      Tag = 1
      DisplayLabel = '$'
      DisplayWidth = 4
      FieldName = 'VALIUTA'
      ProviderFlags = []
      Visible = False
      Size = 3
    end
    object tbMedPirkIrasaiVlt_Kursas: TFloatField
      Tag = 1
      DisplayLabel = '$ Kursas'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_KURSAS'
      Visible = False
    end
    object tbMedPirkIrasaiVlt_Daugiklis: TIntegerField
      Tag = 1
      DisplayLabel = '$ Daugiklis'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DAUGIKLIS'
      Visible = False
    end
    object tbMedPirkIrasaiValData: TDateField
      Tag = 1
      DisplayLabel = '$ Data'
      DisplayWidth = 13
      FieldName = 'VALDATA'
      ProviderFlags = []
      Visible = False
    end
    object tbMedPirkIrasaiBazKaina: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Kaina'
      DisplayWidth = 8
      FieldName = 'BAZKAINA'
      Required = True
      Visible = False
      DisplayFormat = '#,##0.0000'
      EditFormat = '###0.0000'
      Precision = 14
    end
    object tbMedPirkIrasaiBazSuma: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbMedPirkIrasaiBazPVMSuma: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.PVM Suma'
      DisplayWidth = 6
      FieldKind = fkInternalCalc
      FieldName = 'BAZPVMSUMA'
      Visible = False
      DisplayFormat = '#,##0.00;-;(#,##0.00)'
      Precision = 14
    end
    object tbMedPirkIrasaiBazViso: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Viso'
      DisplayWidth = 6
      FieldKind = fkInternalCalc
      FieldName = 'BAZVISO'
      Visible = False
      DisplayFormat = '#,##0.00;-;(#,##0.00)'
      Precision = 14
    end
    object tbMedPirkIrasaiBazSavikaina: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Savik.vnt'
      DisplayWidth = 12
      FieldName = 'BAZSAVIKAINA'
      DisplayFormat = '#,##0.0000'
      EditFormat = '0.0000'
      Precision = 14
    end
    object tbMedPirkIrasaiSavikaina_viso: TBCDField
      Tag = 1
      DisplayLabel = 'Savik.viso'
      DisplayWidth = 12
      FieldKind = fkInternalCalc
      FieldName = 'BAZSAVIKAINA_VISO'
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object tbMedPirkIrasaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      Visible = False
      Size = 3
    end
    object tbMedPirkIrasaiMID: TIntegerField
      FieldName = 'MID'
      Visible = False
    end
    object tbMedPirkIrasaiSandelys: TIntegerField
      DisplayWidth = 2
      FieldName = 'SANDELYS'
      Required = True
      Visible = False
    end
    object tbMedPirkIrasaiSand_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Sand'#279'lis'
      DisplayWidth = 21
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object tbMedPirkIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiKodas: TWideStringField
      DisplayLabel = 'Kodas'
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiBKodas: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object tbMedPirkIrasaiPavadinimas: TWideStringField
      DisplayLabel = 'Pavadinimas'
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object tbMedPirkIrasaiMatas: TWideStringField
      DisplayLabel = 'Matas'
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object tbMedPirkIrasaiGKodas: TWideStringField
      DisplayLabel = 'G.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiEKAKodas: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object tbMedPirkIrasaiEKAPavadinimas: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiGrPavadinimas: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkIrasaiPVM2: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiPrPsl: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbMedPirkIrasaiFirmosID: TIntegerField
      FieldName = 'FIRMOSID'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiT: TWideStringField
      FieldName = 'T'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbMedPirkIrasaiImportas: TWideStringField
      DisplayLabel = 'Importas'
      FieldName = 'IMPORTAS'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbMedPirkIrasaiAValPVMSuma: TFMTBCDField
      FieldName = 'AVALPVMSUMA'
      ProviderFlags = []
      Precision = 15
      Size = 2
    end
    object tbMedPirkIrasaiMVKodas: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object tbMedPirkIrasaiKNKodas: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object tbMedPirkIrasaiNetto: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiBrutto: TFloatField
      DisplayLabel = 'Brutto'
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object tbMedPirkIrasaiDepFID: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiDepKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbMedPirkIrasaiDepIKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiDepPVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object tbMedPirkIrasaiDepPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object tbMedPirkIrasaiFSID: TIntegerField
      FieldName = 'FSID'
    end
    object tbMedPirkIrasaiFSKodas: TWideStringField
      DisplayLabel = 'F.S.Kodas'
      FieldName = 'FSKODAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedPirkIrasaiFSPavadinimas: TWideStringField
      DisplayLabel = 'F.S.Pavadinimas'
      FieldName = 'FSPAVADINIMAS'
      ProviderFlags = []
      Size = 250
    end
    object tbMedPirkIrasaiFSBiudzetas: TWideStringField
      DisplayLabel = 'F.S.Biudzetas'
      FieldName = 'FSBIUDZETAS'
      ProviderFlags = []
      Size = 1
    end
    object tbMedPirkIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object tbMedPirkIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object tbMedPirkIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedPirkIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedPirkIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedPirkIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedPirkIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedPirkIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedPirkIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Required = True
      Size = 1
    end
    object tbMedPirkIrasaiPatvirtinta: TWideStringField
      FieldName = 'Patvirtinta'
      Size = 1
    end
    object tbMedPirkIrasaisn: TIntegerField
      FieldName = 'sn'
    end
    object tbMedPirkIrasaiVisoTuris2: TFloatField
      DisplayLabel = 'Viso T'#363'ris'
      FieldKind = fkInternalCalc
      FieldName = 'VisoTuris'
      DisplayFormat = '0.0000'
    end
    object tbMedPirkIrasaiMaxNr: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
    object tbMedPirkIrasaiSum_BazSuma: TAggregateField
      FieldName = 'SUM_BAZSUMA'
      Active = True
      Expression = 'Sum(BazSuma)'
    end
    object tbMedPirkIrasaiSum_BazSavikaina_viso: TAggregateField
      FieldName = 'SUM_BAZSAVIKAINA_VISO'
      Active = True
      Expression = 'Sum(BazSavikaina_viso)'
    end
    object tbMedPirkIrasaiSum_BazPVMSuma: TAggregateField
      FieldName = 'SUM_BAZPVMSUMA'
      Active = True
      Expression = 'Sum(BazPVMSuma)'
    end
    object tbMedPirkIrasaiSum_ValPVMSuma: TAggregateField
      FieldName = 'SUM_VALPVMSUMA'
      Active = True
      Expression = 'Sum(ValPVMSuma)'
    end
    object tbMedPirkIrasaiSum_Suma: TAggregateField
      FieldName = 'SUM_VALSUMA'
      Active = True
      Expression = 'Sum(ValSuma)'
    end
    object tbMedPirkIrasaiVisoTuris: TAggregateField
      FieldName = 'SUM_VisoTuris'
      Active = True
      Expression = 'Sum(Turis)'
    end
  end
  object dsMedPirkIrasai: TDataSource
    DataSet = tbMedPirkIrasai
    Left = 537
    Top = 200
  end
  object dbxMedSN: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'PrekesID'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftString
        Name = 'SerNr'
        ParamType = ptInput
        Value = '-1'
      end>
    SQL.Strings = (
      'SELECT *'
      'FROM medSN'
      'WHERE PrekesID = :PrekesID AND sn = :SerNr')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 192
    Top = 65535
    object dbxMedSNPrekesID: TIntegerField
      DisplayLabel = 'Prekes ID'
      FieldName = 'PrekesID'
      Required = True
    end
    object dbxMedSNSN: TWideStringField
      FieldName = 'SN'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedSNPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object dbxMedSNPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object dbxMedSNstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedSNplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedSNilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedSNrusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedSNtipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedSNturis: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedSNplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedSNdarbID: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object dbxMedSNrezID: TIntegerField
      FieldName = 'rezID'
    end
    object dbxMedSNkaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object dbxMedSNkainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object dbxMedSNkainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
  end
  object dspMedSN: TDataSetProvider
    DataSet = dbxMedSN
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 200
    Top = 5
  end
  object tbMedSN: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'PrekesID'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftString
        Name = 'SerNr'
        ParamType = ptInput
        Value = '-1'
      end>
    ProviderName = 'dspMedSN'
    Left = 206
    Top = 10
    object tbMedSNPrekesID: TIntegerField
      DisplayLabel = 'Prekes ID'
      FieldName = 'PrekesID'
      Required = True
    end
    object tbMedSNSN: TWideStringField
      FieldName = 'SN'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedSNPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object tbMedSNPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object tbMedSNstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedSNplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedSNilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedSNrusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedSNtipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedSNturis: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedSNplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedSNdarbID: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object tbMedSNrezID: TIntegerField
      FieldName = 'rezID'
    end
    object tbMedSNkaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object tbMedSNkainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object tbMedSNkainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
  end
  object dsMedSN: TDataSource
    DataSet = tbMedSN
    Left = 216
    Top = 21
  end
  object dbxMedRastStoris: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT DISTINCT galas'
      'FROM medRastKub')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 584
    Top = 87
    object FloatField7: TFloatField
      DisplayLabel = 'R'#261'sto galas, m'
      FieldName = 'galas'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
  end
  object dspMedRastStoris: TDataSetProvider
    DataSet = dbxMedRastStoris
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 592
    Top = 101
  end
  object tbMedRastStoris: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedRastStoris'
    Left = 606
    Top = 114
    object FloatField10: TFloatField
      DisplayLabel = 'R'#261'sto galas, m'
      FieldName = 'galas'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dsMedRastStoris: TDataSource
    DataSet = tbMedRastStoris
    Left = 616
    Top = 125
  end
  object dbxMedRastIlgis: TSQLQuery
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT DISTINCT ilgis'
      'FROM medRastKub')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 656
    Top = 87
    object FloatField9: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
  end
  object dspMedRastIlgis: TDataSetProvider
    DataSet = dbxMedRastIlgis
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 664
    Top = 101
  end
  object tbMedRastIlgis: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMedRastIlgis'
    Left = 678
    Top = 114
    object FloatField13: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
  end
  object dsMedRastIlgis: TDataSource
    DataSet = tbMedRastIlgis
    Left = 688
    Top = 125
  end
  object ImageListHot: TImageList
    Height = 32
    Width = 32
    Left = 26
    Top = 28
    Bitmap = {
      494C010110001300040020002000FFFFFFFFFF00FFFFFFFFFFFFFFFF424D3600
      000000000000360000002800000080000000A000000001002000000000000040
      0100000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000D7D7D600D6D6D500DBDBDB00E3E3E3000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000B8B9
      B90055544F0053514D006865620082827F00A3A4A200C3C4C400DFDFDE000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000007EB6C6005E9CAE00458798003A7889002864
      7500134D5D000000000000000000000000000000000000000000000000006C6E
      6A00726453007F6D5900806E5B007A6A590070645600665E5300666059006D6D
      680084858300A3A3A300C9CACA00A2A3A400696A6700A5A6A500000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000BBBBBB00777777000000
      000000000000000000000000000000000000DDDDDD00DDDDDD00AAAAAA00AAAA
      AA00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000004B93A700337B
      8F001B5E7100144D5D000E3F4C000A374300415A6100556265005D616300202F
      32000A242C000000000000000000000000000000000000000000000000005551
      4B007E6E5900847762007E6F5B007B6A57007968550075645200716150006F61
      5200746759007A6E63007E766C006A625A00716353007E726600A9AAA900C3C5
      C600D8DADB000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000CCCC990088888800CCCC9900BBBBBB007777
      77004444440000000000000000005555550055555500DDDDDD00DDDDDD00AAAA
      AA00DDDDDD00AAAAAA0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000C1C4C500AFB5B5009EA4A50091979900858A
      8D00828A8C006B72740074757500000000000000000000000000113740000224
      2D00103B4500174E5D00205F7000124250004F56570066696B0067696B002632
      35002D4951000000000000000000000000000000000000000000E4E5E500544C
      44007E705D00877F6B00847B6700877B67008A7C67008A7C67008D7E68008F7E
      6800897862007A6B57006A5B4900685A49008C755F007E695600726C6200827D
      77008F8C8800A29F9C00ADACAA00BBBAB900C4C4C400D0D0D100DEDFDF000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000BBBBBB004444440044444400DDDDDD004444440044444400BBBB
      BB007777770044444400FFFFFF00555555005555550044444400444444005555
      5500AAAAAA00AAAAAA00DDDDDD00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000AAB1
      B200969FA000909899008E9697008A919200878F9000858C8D0082898B008289
      8B00838B8C00787F8000111212000000000000000000000000006D8389000121
      2B001F6675003592A8002A7D92000C3B480040494C00646A6B00666A6C002D37
      3A005B6F75000000000000000000000000000000000000000000D2D3D2005A4F
      43007D715F00938B7400968D7800958C76008D86710086806C008D8571009990
      7A009C937B00938871008F816B008A7C67008976600093806A0085745F007465
      520066594900594F410050493E00544E4600635E59007876730094928F00ACAB
      A800C9C9C800000000000000000000000000000000000000000000000000CCCC
      99004444440044444400DDDDDD0044444400DDDDDD0044444400DDDDDD004444
      4400444444004444440044444400FFFFFF00FFFFFF0022222200222222004444
      440055555500DDDDDD00AAAAAA00DDDDDD000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000A3AB
      AB009AA3A4009CA4A500989E9F009AA1A20098A0A1008F97980089919200838A
      8C007B8283007B8284000F0F0F002C2C2C00000000000000000000000000122F
      3500274C5500346D7B00488F9F00384E5300767E8100656B6D005F6567005256
      5700000000000000000000000000000000000000000000000000BDBFBE006457
      480084796500968E780099907900958C75009088730089826D008A837000928B
      7500A0977F00AAA08600AEA389009E947C0083745F00A69C8300AB9F8600A69A
      8100A2957C00998A72008F7F68008A78610082705C00786955006E5F50006458
      4A005C544B0080807E00000000000000000000000000BBBBBB00CCCC99004444
      4400444444008888880044444400DDDDDD00DDDDDD0044444400DDDDDD00DDDD
      DD004444440077777700BBBBBB005555550055555500DDDDDD00FFFFFF002222
      22002222220044444400DDDDDD00AAAAAA000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000A6AF
      AF00939B9B00848B8C008D9495006A6F7000505455006C7172005C6162002729
      2B00282B2B006B72730018191900000000000000000000000000000000000000
      00000000000065BDD5004FB8D5000043650000000000292B2D00222425003233
      3300000000000000000000000000000000000000000000000000A7A8A7006D5E
      4D007F7361009C937C00C3B79800BEB39500B7AC9000ACA187009D947D008F88
      73008D857100968E7800A59B8300998F78007F705D00978E7900988F7A009B91
      7B00A2977F00A89D8300A2977F009F927900998C750092866F008B7D68008576
      62007F705D00685D5100CFCFCF0000000000000000000000000044444400AAAA
      AA0000000000FFFFFF00BBBBBB00444444004444440077777700444444004444
      440055555500BBBBBB00BBBBBB00DDDDDD00DDDDDD005555550055555500DDDD
      DD00FFFFFF002222220022222200DDDDDD00AAAAAA0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000007E85
      84000A0B0B001A1B1C00747A7B0012131400000000004F535400454949000202
      02001A1C1C006D7374001A1C1C00020202000000000000000000000000000000
      0000000000004CB1CE004FB8D50000436500000000001D1C1A0017171700393B
      3D00000000000000000000000000000000000000000000000000939493007765
      5300867A6600AFA58A00D0C3A200CFC3A100CBBF9F00C5B99A00BCB19400AFA5
      8B00A49A82009B937B00968E770089816C0081725F009C927C009B927C009990
      7A00988F7900A2998100ADA38A00B1A68C00AFA48A00A99E8500A49880009D91
      79008D816C006D605100D6D6D50000000000000000000000000000000000DDDD
      DD007777770000000000AAAAAA00000000007777770088888800FFFFFF00BBBB
      BB005555550077777700BBBBBB00BBBBBB00DDDDDD00DDDDDD00DDDDDD005555
      550055555500DDDDDD00FFFFFF00555555005555550000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000787D
      7D000A0A0B0034373800868D8C004B504F00545858007A818100808686007076
      76007A8181008187880018191900000000000000000000000000000000000000
      0000000000004CB1CE004FB8D50000436500000000006E6B67007C7771000000
      0000000000000000000000000000000000000000000000000000828381007F6B
      590094887100C4B89900CDC0A000CEC2A000CFC2A200CFC3A200D0C3A200CEC0
      A100C4B99A00B6AC8F00A49B81009288720088796300B3A88C00B4A98E00ADA3
      8800A2988000A0967F00AAA08600AEA48B00AFA48A00AA9F8700A69C8400A098
      80008B836F00786E62000000000000000000000000000000000000000000FFFF
      FF00AAAAAA000000000000000000AAAAAA007777770077777700FFFFFF00BBBB
      BB00BBBBBB0066666600BBBBBB00BBBBBB00BBBBBB00BBBBBB00DDDDDD00DDDD
      DD00DDDDDD005555550055555500DDDDDD00FFFFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000AAB2
      B1009AA1A0009CA4A200A0A7A6008A919000757C7B00848A8B00777C7C004D51
      510044484800767C7C001E202000000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000747572008570
      5B009F917900CEC1A000CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CFC2A100CCBFA000C7BB9C00B6A98D008F7F6800C7BA9B00C9BD9D00CBBE
      9E00C3B69900B0A58B00A29880009B927C009B937C0099907B009A917B009E95
      7F00948A7500807B73000000000000000000000000000000000000000000AAAA
      AA00FFFFFF000000000000000000000000000000000077777700FFFFFF00FFFF
      FF00BBBBBB0066666600DDDDDD00DDDDDD00BBBBBB00BBBBBB00BBBBBB002222
      220022222200DDDDDD00DDDDDD005555550055555500DDDDDD00FFFFFF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000868B
      8A00272929002D302F00888D8D00181A1A0000010100565B5B004A4D4D000000
      00000B0D0D006E74740024262600000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000696763008974
      5F0093866F00CCC09F00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CEC1A000B0A68C00948F8000A2977F0091816B00B6AB9000A59C8300CABE
      9E00CCC0A000CABE9E00C3B89900BDB19400B5AB8F00ACA18700A99E8500B1A6
      8C00ACA187009B99940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000077777700AAAAAA00FFFF
      FF00BBBBBB0066666600DDDDDD00DDDDDD00EEEEEE00DDDDDD00222222007777
      77000000000022222200DDDDDD00444444004444440077777700777777008888
      8800888888000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000006B6F
      6E0004040400242627008B918F002D3030003032320070767500727776004B4F
      4F005C6161008188870022232300000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000605D58008D77
      6100897D6800CBBF9E00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CEC1A100B4AB9600999991009288730091816B008E8877009C9A8F00BEB3
      9500CEC2A100CFC2A200CDC1A100CCBF9F00C9BC9D00C5B99A00C4B89900C7BA
      9C00ACA18700C3C3C00000000000000000000000000000000000000000000000
      000000000000000000000000000000000000444444007777770077777700FFFF
      FF00BBBBBB0066666600DDDDDD005555550088888800DDDDDD0044444400AAAA
      AA002222220022222200BBBBBB0044444400888888004444440055555500FFFF
      FF00FFFFFF005555550088888800000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000B6BC
      B9009CA29F00A8AEAC00B4BBB800A1A7A6009AA19F009FA6A500959D9B007F85
      8400757B7B00878E8D0025272600000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      00000000000000000000000000000000000000000000000000005B5650008F79
      630084786400CABD9E00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CEC1A100BCB49E00B8B8B0009B8F78008F7F68009A958600B3B1A800C1B6
      9800CEC1A100CEC1A100CEC1A100CFC2A200CFC2A200D0C3A300D0C3A300CFC3
      A200A39A8100DCDCDA0000000000000000000000000000000000000000000000
      000000000000000000000000000044444400444444004444440077777700AAAA
      AA00FFFFFF00BBBBBB0066666600DDDDDD00EEEEEE00DDDDDD00555555007777
      7700AAAAAA0044444400BBBBBB00444444008888880022222200000000005555
      5500555555000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000999F
      9B004E504F00545857009BA19E0037393900191C1D00676D6B00585C5B000607
      08000E101000747979002E303000000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      000000000000000000000000000000000000000000000000000059534B00907A
      630082756200C8BC9D00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CEC2A100C2B89E00D0CDC200B4A99200998C7700C7C1B000CBC5B400CDC1
      A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CDC1
      A1009E957D00E0E0DF0000000000000000000000000000000000000000000000
      0000000000000000000000000000444444004444440044444400777777007777
      7700FFFFFF00BBBBBB0066666600DDDDDD008888880055555500DDDDDD005555
      550044444400DDDDDD00DDDDDD00000000004444440022222200777777000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000005E62
      600005050500191B1B00939795000B0D0D0003050700656868005C605F001214
      1300232626007B8180002F313100000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      00000000000000000000000000000000000000000000E5E5E5005B534900917A
      64007F736100C7BB9C00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CEC1A100C9BC9E00C7C4B500C5C1B700B8B3A900D0CDC300C3B99F00CEC1
      A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CDC1
      A000A0977F00DADADA0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000004444440044444400777777007777
      7700FFFFFF00DDDDDD00BBBBBB0066666600EEEEEE00EEEEEE0088888800DDDD
      DD00DDDDDD00DDDDDD0055555500DDDDDD002222220044444400000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000A6AB
      A7007074710093989500B8BFBB00959B9800969B9900A3A9A600A0A6A500959B
      9A00939997009AA09F002A2C2C00000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      00000000000000000000000000000000000000000000D8D8D8005C544800907A
      64007F736100C7BA9B00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CEC1A100CFC2A100CAC0A400B5AD9B00A9A29300C8BFA600CDC1A100CEC1
      A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100A69D8400D5D5D50000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000077777700444444007777
      7700AAAAAA00FFFFFF00BBBBBB0066666600EEEEEE00EEEEEE00DDDDDD005555
      55008888880055555500DDDDDD00BBBBBB002222220077777700444444004444
      4400000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000BAC1
      BB008F949100969B9800B3B9B600737675005D615F00898F8C007A7F7D003E41
      4100393B3C008084850032343400000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      00000000000000000000000000000000000000000000CBCDCC005F554800907A
      64007F736000C6B99B00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CDC0A000B1A78E00A1998300A89C85009D917C00B3A88D00B6AC9000CDC0
      A000CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A000ABA18700D0D0CE0000000000000000000000000000000000000000000000
      0000000000000000000000000000EEEEEE00BBBBBB00AAAAAA00444444007777
      770077777700BBBBBB00DDDDDD00BBBBBB0066666600EEEEEE00DDDDDD00DDDD
      DD00DDDDDD0088888800BBBBBB00888888002222220077777700777777000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000005B5D
      5B0005050500242627009A9F9B00020305000000000063676600555856000000
      000007080A00757A7900383A3900000000000000000000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      00000000000000000000000000000000000000000000C3C4C40063574900907A
      64007F736000C5B99A00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CCC0A000A8A29100807D7100A1937A0096876F009E9785009B948100CBBE
      9E00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A000AEA48A00CBCBC90000000000000000000000000000000000000000000000
      0000000000000000000000000000EEEEEE00BBBBBB00AAAAAA00777777004444
      44007777770088888800FFFFFF00FFFFFF00BBBBBB006666660088888800BBBB
      BB00BBBBBB00BBBBBB0055555500222222007777770077777700000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000007679
      75001F2020005D605F00A9ADA9004A4E4C004A4E4D00838887007E8381005255
      5500575C5B008D92910035373700000000008282820000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      00000000000000000000000000000000000000000000C3C3C30067594B00917A
      63007E725F00C4B89900CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CCBFA000C6C2B3008F8C81009F92790093846D009D9B920098958800C9BC
      9D00CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100B1A68C00C8C7C60000000000000000000000000000000000000000000000
      000000000000000000000000000000000000EEEEEE00BBBBBB00AAAAAA007777
      7700444444007777770088888800FFFFFF00FFFFFF00BBBBBB00BBBBBB005555
      55005555550055555500222222007777770077777700BBBBBB00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000D1D6
      D100C1C7C200C6CDC700C5CAC600B1B7B300AAAFAC00ACB3B000A2A8A500959B
      98008A908E00999F9E0034363600000000007E7E7E0000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      00000000000000000000000000000000000000000000D2D3D20064584A008E77
      61007B715E00C3B79900CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CDC0A000C5BFAF00C1BCAC00A4977E0098897100C8C5B800BCB6A100CDC0
      A000CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100B4AA8E00C4C3C20000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000EEEEEE00BBBBBB00BBBB
      BB0077777700444444007777770077777700FFFFFF00FFFFFF00BBBBBB00BBBB
      BB00BBBBBB00BBBBBB00BBBBBB00BBBBBB00BBBBBB0000000000444444000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000006A6E
      6B00212121004B4E4E009BA09C001F21210015171800707472005E6261000C0D
      0F0013151600747878003D3F3F00000000007B7B7B0000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      000000000000000000000000000000000000000000000000000096918C008277
      6A007B746300C2B69800CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100CDC1A100C4BAA100CDCBC100BDB7A900B9B3A600CAC8BD00C5BB9F00CEC1
      A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100B6AB8F00BEBFBC0000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000EEEE
      EE00BBBBBB000000000044444400AAAAAA007777770077777700EEEEEE00EEEE
      EE00EEEEEE00EEEEEE00AAAAAA00BBBBBB000000000000000000000000004444
      4400444444000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000004647
      46000505050033363700949996000A0C0C0008090B006A6E6E005A5E5C00090A
      0C00141516007277760040434200000000007575750000000000000000000000
      0000000000004CB1CE004FB8D500004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000D9D9D800C0BD
      B9009E9B9200BCB19400CEC2A200CFC2A200CFC3A200CFC2A200CEC2A200CEC1
      A100CDC1A100CABE9E00CDC7B300B9B3A600B7B2A500CAC2AD00CBBF9F00CEC1
      A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100B5AA8F00C2C2C00000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000044444400000000004444440044444400AAAAAA00AAAAAA00AAAA
      AA00AAAAAA007777770000000000000000000000000000000000000000000000
      0000444444000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000ABB0
      AD0092979400A4AAA700B5BBB700848987007C818000959B9900979D9B007C80
      7F0074797800929897003E404000000000006F6F6F0000000000000000000000
      00000000000062B9D10000436500004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000ADACA900B5AA8F00CBBE9E00C9BC9D00C6BA9B00C8BC9C00CBBF9F00CEC2
      A100CEC2A100C5BA9A00BCB09300A4998500A3998300C5B89900CABE9F00CEC1
      A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A100B3A88D00C8C8C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000555555000000
      000000000000444444000000000000000000BBBBBB0044444400444444004444
      4400444444000000000000000000000000000000000000000000000000000000
      0000444444000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000979C
      9900747976008A8F8C00ACB2AF00B4BBB800D5DDD900BDC3C0008B908E00B7BF
      BC00B7BEBC00A5ACAB0034363500070808007575750000000000000000000000
      0000A4DCE80070D6E8004CB1CE00004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00007B797200B3A98E00BEB39600B5AB9000AEA48B00B4A99000C1B69800CBBE
      9E00CBBE9E00A49C8600918B78009A8D75009F927900B1A78E00B7AC9000CDC0
      A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1A100CEC1
      A000B0A58B00CBCBCA0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000444444000000000000000000000000000000000000000000BBBBBB00BBBB
      BB00222222000000000000000000000000000000000000000000000000004444
      44000000000000000000000000000000000000000000000000000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000393C
      3A00080808000E100F00595B58009CA3A300B3BBBA00A7AFAE007A8181009DA5
      A4009FA7A700939B9B0062676800727878008D908F0000000000000000000000
      000090D6E50077DBEC004FB8D500004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000C5C4C300B0AFA800AAA9A200B7B5B000C3C1BD00BBB9B400A6A39A00948D
      7D00A0967E00B2AEA2007A776E0078725F007D75640097948A008A857700CCC0
      A000D0C3A200D0C3A300D0C3A200CEC2A100CDC1A000C7BB9C00CABE9E00CDC1
      A100A99F8600D4D4D20000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000004444
      4400000000000000000000000000000000000000000000000000000000007777
      7700444444002222220000000000000000000000000000000000000000004444
      44000000000000000000000000000000000000000000000000000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000003D40
      3F0003040400000000004A444000DDDFDC00BEC2C000BBBFBC00BCC0BD00B1B4
      B200AAADAC00A8ACAA00ABAFAE009A9D9C008D8C8C0000000000000000000000
      00009FD9E6004CB1CE004CB1CE00004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000E3E3E300DFDFDF00E6E6E70000000000E8E8E900DCDDDB00D0CF
      CB00BEBCB400BFBEB80072716A0047443B006D675700B2B0A6009B958400C1B5
      9400BBAF9000B6AA8C00B8AC8E00C5B99700D1C4A200BEB29500C1B69700D1C4
      A3009D937C00DFDFDF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000444444000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000777777004444440022222200000000000000000000000000444444000000
      00000000000000000000000000000000000000000000000000000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000004A4C
      4B004E4E4E0000000000000000007ABAC5000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000075B4C80000436500004365000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000D1D2CF0091908A004444410073706500CBCAC000B1AC9E00B4AD
      9A00B5AE9C00B2AC9B00B3AC9B00B3AC9600B2A88E00ADA28700AFA58900BDB1
      9300928C7C000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000007777770044444400222222000000000044444400444444000000
      00000000000000000000000000000000000000000000000000000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000ACDEDE0044A1B800338DAB00338DAB00338DAB00338D
      AB00338DAB00338DAB00338DAB00338DAB00338DAB00338DAB00338DAB00338D
      AB0030839F004295A600367D8E00235765002365790029738B0026728A002F72
      8800246E8500427F940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000C9C9C6008385820096979500D3D3D000C0C1BF00BEBF
      BE00CFD0D000D5D7D600D2D3D300B4B5B300939085009D957F009C947F009F97
      8200A3A29D000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000077777700444444004444440044444400000000000000
      00000000000000000000000000000000000000000000000000000000000000FF
      FF0000FFFF0000FFFF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000067B5CB0063AFC60061ADC3005FADC3005FAB
      C1005BAAC1005CA8BF0059A9C0005BA7BD0058A8BF005AA6BC005AA9C00058A7
      BD005AA6BD0065C0D8006DCDE800337584005CA6BC005AABC2005AAAC1005EAB
      C10054A5BD0071B4C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000E7E7E600DCDCDA00DCDDDB0000000000000000000000
      000000000000000000000000000000000000E4E5E300A3A29D009D9C9400B1B1
      AD00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000777777007777770000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000E9E9E7000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FFFFFF00000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C6000000000000000000000000000000000000000000FFFF
      FF00FFFFFF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000C6C6C6008400
      000084000000C6C6C6000000000000000000000000008D8B8B002A2929003F3E
      3D0088878700BDBCBD0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      0000000000000000000084000000840000008400000084000000840000008400
      000084000000FFFFFF0000840000FFFFFF008400000084000000840000008400
      0000840000008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C6C6C6008400
      000084000000C6C6C6000000000000000000A7A6AC002D2D330034373D001E20
      28000E1019000B0D17000F111C00191E2B0024293700444B5B00626979008187
      96009EA2B0000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      00000000000000000000840000000000000000FFFF008400000000FFFF0000FF
      FF00FFFFFF00008400000084000000840000FFFFFF0000008400000084008400
      0000000084008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C6C6C600C6C6
      C600C6C6C600C6C6C6000000000000000000303445002E3344003D445600666D
      83006C768F0046536E0032425F0050628100495B7D0033476A002F446800384D
      70003C4E70002D3F5D00344562004D5B750058637C006F798C0087909D000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      00000000000000000000840000000000000000FFFF008400000000FFFF0000FF
      FF00FFFFFF00008400000084000000840000FFFFFF0000008400000084008400
      0000000084008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000A0E260047526D003E4866002B38
      5A003F527800485D8800425B89004E669700526DA1006785BB006C8DC4006D8F
      C6006D8EC3006987B8006884B1006A83AC0061779D0053668800495A79003544
      62003B465D004E5159006061650078787B008E8E910000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
      FF0000000000000000000000000000000000FFFFFF00FF000000FFFFFF00FFFF
      FF000000000000000000FFFFFF00FF000000FFFFFF00FFFFFF00000000000000
      000000000000FFFFFF00FF000000FFFFFF00FFFFFF0000000000000000000000
      0000FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      0000000000008400000084000000840000008400000084000000840000008400
      000084000000FFFFFF0000840000FFFFFF008400000084000000840000008400
      0000840000008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000C6C6C6008400
      000084000000C6C6C60000000000000000003031460040465E002F395A005364
      8E0050699C005470AA004665A2003B559400284381005774B1006B8ACC006485
      CC006485CA006B8BCD006E8CCA00708CC7006F89C100677EB100657EAD007087
      B4007085AF006C789C0060688700464B63002D3041001F20290037373C005052
      540060646500777F7F00000000000000000000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      00000000000084000000000000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF0000FFFF00FFFFFF00000084000000840000008400000084008400
      0000000084000000000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000C6C6C6008400
      000084000000C6C6C6000000000000000000292638003F4057001A2345005164
      9200718DC7006A8ACB006789CE006D8DD0006A86C800718AC8006C86C000738C
      C3005C75AB003A5386003B5484003A517E001D2D5600010B30000B1D40002036
      5700395071004053760024315100141D37001B2638001017230001030C000001
      0A00050A17000C152600090F210071797F0000000000FFFFFF00FF000000FFFF
      FF0000000000000000000000000000000000FFFFFF00FF000000FFFFFF00FFFF
      FF000000000000000000FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF000000
      000000000000FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00000000000000
      0000FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      00000000000084000000000000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF00FFFFFF00FFFFFF00FFFFFF008484000084840000000000008400
      0000000000000000000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
      0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000002F2F44003F425C001C274B005165
      94006E8AC4006486C500688ACD006584C6006C89C900708AC6006F88BC007A91
      BE006E85B0004D648E00455B84003D5278003B4D710057698B00657798006173
      9400566D8E004C6C92004864890041587800475C7800515F790058617B00505A
      7600576183007781A90068759E00545D760000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      0000840000008400000084000000840000008400000084000000840000008400
      0000FFFFFF00008400000084000000840000FFFFFF0084000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C6C6C600C6C6
      C600C6C6C600C6C6C6000000000000000000464B610059607B0000052A001B28
      56006C89C0006E8ECB006888C8006A89C700728FCC00718AC5006E89C7006885
      C8006C89CC00718ED0006C88CA006D88CA006C86C7007189CB00768DD0007087
      CA006E87CD006784D4006783D0006981C7007084C2007687BD007382B1006977
      A5007182AE006B7FAC0051649200535C830000000000FFFFFF00FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FFFFFF00000000000000000000000000000000000000
      00008400000000000000000000000000000000FFFF008400000000FFFF0000FF
      FF00FFFFFF00008400000084000000840000FFFFFF0084840000000000008400
      0000000000000000000000000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFFFF00FFFFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF00FFFFFF00FFFFFF00C6C6C6008400
      000084000000C6C6C600000000000000000014182A00121832003C4A6D004055
      7F00324C7E0045629A00506EA7006884BC0049629800526A9E004B6B9C00416A
      9900456D9E00547BAE00698FC3006F93C9006E91C9006284BE005678B4006485
      C2006789CC006184D4006284D2005979BE0042609B0034508100345078002640
      6200051A3700102A4400283E55002032450000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      00008400000000000000FF00FF00FF00FF00FF00FF0084000000FF00FF00FF00
      FF00FFFFFF00008400000084000000840000FFFFFF0084840000000000008400
      0000000000000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFFFF00FFFFFF0000FFFF0000FFFF000000000000FF
      FF0000000000000000000000000000FFFF0000000000000000000000000000FF
      FF0000FFFF0000FFFF000000000000FFFF00FFFFFF00FFFFFF00C6C6C6008400
      000084000000C6C6C60000000000000000002126380014192F007584A100788B
      AE005F759E003F578500395181005B72A1004D638F00263A6400142645000F1D
      31000E1A2F000D1D350021375200475F7D00677EA00063799D002D4169001C2F
      57004D6597006689CF006588D1006687CC006E8BCD006E89C8006C83C0007186
      C300576CA9006075B300778AC70056628C0000000000FFFFFF00FF000000FFFF
      FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FF000000FFFFFF000000
      000000000000FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF0000000000FFFF
      FF0000000000FFFFFF00FF000000FFFFFF000000000000000000FFFFFF000000
      0000FFFFFF00FF000000FFFFFF00000000000000000000000000000000000000
      0000840000008400000084000000840000008400000084000000840000008400
      0000FFFFFF0000840000008400000084000000840000FFFFFF00840000008400
      0000840000008400000084000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFF0000FFFF000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF000000000000FFFF0000FFFF000000000000FFFF0000FF
      FF0000FFFF0000FFFF000000000000FFFF00FFFF0000FFFF0000C6C6C600C6C6
      C600C6C6C600C6C6C6000000000000000000888F9D006A707D009099AA00808C
      A0006272900066789900657699005D6C8E005C6B8C00616E8D0057647D005361
      74005B687D0045516800252C45000F193600030A2C00080D2D00050C3300161A
      420021305D003A5B8F005075A9006284B9006D8CC000718DC0007890C3007B90
      C500677AB000374277003E4A7E005865820000000000FFFFFF00FF000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF000000FFFFFF00000000000000000000000000000000008400
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FFFFFF0000840000008400000084000000840000FFFFFF00000000000000
      0000000000000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFF0000FFFF000000FFFF00000000000000000000FF
      FF000000000000FFFF000000000000FFFF000000000000FFFF000000000000FF
      FF0000000000000000000000000000FFFF00FFFF0000FFFF0000C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000000000000000000000000000000
      000000000000C9CED700777F9100545B6D004C50630000000000000000000000
      00004E57680063728A007F8FAA007687A4004D5B7C0038476B0054648B008394
      BD007689B5006A84B600617CAD00718BB8006882AB003C537500374A67003F54
      6C0062778A00708392002F414C000000000000000000FFFFFF00FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FFFFFF00000000000000000000000000000000008400
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FFFFFF0000840000008400000084000000840000FFFFFF000000
      0000000000000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFF0000FFFF000000FFFF0000FFFF000000000000FF
      FF0000000000000000000000000000FFFF0000000000000000000000000000FF
      FF000000000000FFFF000000000000FFFF00FFFF0000FFFF0000C6C6C6008400
      000084000000C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000082949E006E828E0037495900253A4C003C5266005B71
      8700798DAC007685B8006674A9006272A1003A4A7400040D2C00555F78004855
      670017202A00404D5000B8BFBE00E8EBEB0000000000FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF00FFFFFF000084000000840000008400000084000000840000FFFF
      FF00000000000000000000000000000000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFFFF00FFFFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF00FFFFFF00FFFFFF00C6C6C6008400
      000084000000C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000006F7F8A000F172200131D280040525E003A4A57009FADB8000000
      0000000000000000000000000000000000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000FFFFFF00FFFF
      FF00FFFFFF0000000000FFFFFF0000840000008400000084000000840000FFFF
      FF00000000000000000000000000000000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFFFF00FFFFFF0000FFFF00000000000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000000000FFFF0000FF
      FF0000FFFF00000000000000000000FFFF00FFFFFF00FFFFFF00C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000A3ABAD0039434A0055636F008292A100687687000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF0000FFFF000000000000FFFF000000000000FFFF0000000000000000000000
      000000FFFF00000000000000000000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00008400000084
      000000840000FFFFFF00FFFFFF0000840000008400000084000000840000FFFF
      FF00000000000000000000000000000000008400000084000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFFFF00FFFFFF0000FFFF00000000000000000000FF
      FF000000000000FFFF000000000000FFFF00000000000000000000FFFF000000
      000000FFFF00000000000000000000FFFF00FFFFFF00FFFFFF00C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000727C880067758600737E8F000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF00000000000000000000FFFF000000000000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF0000FFFF00FFFFFF00FFFFFF0000000000FFFF
      FF0000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
      0000FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00008400000084
      000000840000FFFFFF00FFFFFF0000840000008400000084000000840000FFFF
      FF00000000000000000000000000000000008400000084000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFF0000FFFF000000FFFF00000000000000000000FF
      FF000000000000FFFF000000000000FFFF00000000000000000000FFFF000000
      000000FFFF00000000000000000000FFFF00FFFF0000FFFF0000C6C6C6008400
      000084000000C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF00FFFFFF00FFFFFF00000000000000
      000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFFFF00008400000084
      000000840000FFFFFF00FFFFFF0000840000008400000084000000840000FFFF
      FF00000000000000000000000000000000000000000084000000000000000000
      0000000000000000000000000000000000000000000000000000C6C6C6008400
      000084000000C6C6C600FFFF0000FFFF000000FFFF00000000000000000000FF
      FF000000000000FFFF000000000000FFFF00000000000000000000FFFF000000
      000000FFFF00000000000000000000FFFF00FFFF0000FFFF0000C6C6C6008400
      000084000000C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF000000000000FFFF00FFFFFF00FFFFFF0000000000FFFF
      FF0000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
      0000FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000FFFFFF000084
      0000008400000084000000840000008400000084000000840000FFFFFF000000
      0000000000000000000000000000000000000000000084000000840000000000
      0000000000000000000000000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600FFFF0000FFFF000000FFFF00000000000000000000FF
      FF000000000000FFFF000000000000FFFF00000000000000000000FFFF000000
      000000FFFF00000000000000000000FFFF00FFFF0000FFFF0000C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF000000000000FFFF00FFFFFF00FFFFFF0000000000FFFF
      FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000FFFF
      FF000084000000840000008400000084000000840000FFFFFF00000000000000
      0000000000000000000000000000000000000000000084000000840000008400
      0000840000008400000084000000000000000000000000000000C6C6C600C6C6
      C600C6C6C600C6C6C600C6C6C600C6C6C60000FFFF00000000000000000000FF
      FF000000000000FFFF000000000000FFFF00000000000000000000FFFF000000
      000000FFFF00000000000000000000FFFF00C6C6C600C6C6C600C6C6C600C6C6
      C600C6C6C600C6C6C60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF000000000000FFFF000000000000FFFF00000000000000
      000000FFFF00000000000000000000FFFF00FFFFFF00FFFFFF00000000000000
      000000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000FFFF00000000000000000000FF
      FF000000000000FFFF000000000000FFFF00000000000000000000FFFF000000
      000000FFFF00000000000000000000FFFF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF000000000000FFFF000000000000FFFF00000000000000
      000000FFFF00000000000000000000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF0000000000000000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000008484840084848400848484008484
      8400000000000000000000000000000000000000000000000000000000008484
      8400848484008484840084848400000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF0000000000000000008484840084848400848484008484
      8400000000000000000000000000000000000000000000000000000000008484
      84008484840084848400848484000000000000000000000000000000FF000000
      FF000000FF000000000000000000000000000000000000FFFF0000FFFF000000
      000000FFFF000000000000000000000000000000000000FFFF0000FFFF000000
      00000000000000FFFF0000FFFF0000FFFF0000000000000000000000000000FF
      FF0000FFFF00000000000000000000FFFF0000FFFF0000FFFF00000000000000
      00000000000000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000000000848484008484840084848400848484008484
      8400848484000000000000000000000000000000000000000000848484008484
      8400848484008484840084848400848484000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF00848484008484840084848400848484008484
      8400848484000000000000000000000000000000000000000000848484008484
      840084848400848484008484840084848400000000000000FF000000FF000000
      FF00000000000000000000000000000000000000000000FFFF0000FFFF000000
      000000FFFF0000FFFF000000000000FFFF0000FFFF0000FFFF000000000000FF
      FF0000FFFF000000000000FFFF000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF0000FFFF000000000000FFFF000000000000FFFF0000FF
      FF000000000000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000000000000000000000000000848484008484840000000000000000008484
      8400848484000000000000000000000000000000000000000000848484008484
      8400000000000000000084848400848484000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF008484840000000000000000008484
      8400848484000000000000000000000000000000000000000000848484008484
      8400000000000000000084848400848484000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000FFFF0000FFFF000000
      000000FFFF0000FFFF0000FFFF000000000000FFFF0000FFFF000000000000FF
      FF0000FFFF000000000000FFFF0000FFFF0000FFFF00000000000000000000FF
      FF000000000000FFFF0000FFFF000000000000FFFF0000000000000000000000
      00000000000000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000000000000000000000000000848484008484840000000000000000008484
      8400848484000000000000000000000000000000000000000000848484008484
      8400000000000000000084848400848484000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF0000000000000000008484
      8400848484000000000000000000000000000000000000000000848484008484
      84000000000000000000848484000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000FFFF0000FFFF000000
      000000FFFF0000FFFF0000FFFF0000FFFF000000000000FFFF000000000000FF
      FF0000FFFF000000000000FFFF0000FFFF0000FFFF00000000000000000000FF
      FF000000000000FFFF0000FFFF000000000000FFFF000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000000000000000000000000000848484008484840084848400848484008484
      8400848484000000000000000000000000000000000000000000848484008484
      8400848484008484840084848400848484000000000000000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF00848484008484
      8400848484000000000000000000000000000000000000000000848484008484
      840084848400848484000000FF000000FF000000FF0000000000840000008400
      0000840000008400000084000000840000000000000000FFFF00000000000000
      000000FFFF000000000000FFFF0000FFFF000000000000FFFF000000000000FF
      FF0000FFFF000000000000FFFF000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF0000FFFF000000000000FFFF000000000000FFFF0000FF
      FF000000000000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000FF0000000000000000000000000000008484840084848400848484008484
      8400000000000000000000000000FF0000000000000000000000000000008484
      8400848484008484840084848400000000000000000000000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000FF0000000000000000000000000000000000FF000000FF000000FF008484
      8400000000000000000000000000FF0000000000000000000000000000008484
      8400848484000000FF000000FF000000FF000000000000000000840000008400
      0000840000008400000084000000840000000000000000FFFF0000FFFF000000
      000000FFFF0000FFFF00000000000000000000FFFF0000FFFF0000FFFF000000
      00000000000000FFFF0000FFFF0000FFFF00000000000000000000FFFF0000FF
      FF0000FFFF00000000000000000000FFFF0000FFFF0000FFFF00000000000000
      000000FFFF0000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000FF000000FF00000000000000000000000000000000000000000000000000
      00000000000000000000FF000000FF000000FF00000000000000000000000000
      00000000000000000000000000000000000000000000FF000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000FF000000FF0000000000000000000000000000000000FF000000FF000000
      FF000000000000000000FF000000FF000000FF00000000000000000000000000
      00000000FF000000FF000000FF000000000000000000FF000000840000008400
      0000840000008400000084000000840000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000FF000000FF000000FF000000000000000000000000000000000000000000
      000000000000FF000000FF000000FF000000FF000000FF000000000000000000
      000000000000000000000000000000000000FF000000FF000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000FF000000FF000000FF0000000000000000000000000000000000FF000000
      FF000000FF00FF000000FF000000FF000000FF000000FF000000000000000000
      FF000000FF000000FF000000000000000000FF000000FF000000840000008400
      0000840000008400000084000000840000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF00000000000000000000000000008484000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000084840000000000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF0000000000000000000000000000000000
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000
      FF000000FF000000FF00FF000000FF000000FF000000FF0000000000FF000000
      FF000000FF00FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF0000000000000000FFFF000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF000000000000FFFF00000000000000000000000000000000000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000000000000000000000000000000
      0000008400000084000000840000000000000000000000000000000000000000
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF0000000000000000000000000000000000
      0000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      00000000FF000000FF000000FF00FF000000FF0000000000FF000000FF000000
      FF00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF0000000000000000FFFF000000000000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000000000000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF000000000000FFFF00000000000000000000000000000000000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000000000000840000008400000084
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000084
      8400008484000084840000848400008484000000000084840000848400008484
      0000848400000000000084840000848400008484000084840000000000000084
      8400008484000084840000848400008484000000000000840000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000084
      8400008484000084840000848400008484000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000084
      8400008484000084840000848400008484000000000000840000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000840000008400000084
      000000840000008400000000FF000000FF000000FF000000FF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400008484000000000000840000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000840000008400000084
      0000008400000000FF000000FF000000FF000000FF000000FF000000FF000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000000
      0000008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400000000000084000000840000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      0000000000000000000000840000000000000000000000000000000000000000
      0000000000000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000840000000000000000000000000000000000000000
      00000000FF000000FF000000FF0000840000008400000000FF000000FF000000
      FF00008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000000
      0000008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400000000000084000000840000008400000084
      0000008400000084000000840000000000000000000000000000000000000000
      00000000000000000000008400000084000000FFFF0000FFFF0000FFFF0000FF
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      00000000000000000000008400000084000000FFFF0000FFFF0000FFFF000000
      FF000000FF000000FF00000000000000000000000000000000000000FF000000
      FF000000FF000000000000000000000000000000000000000000008400000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000000
      0000000000000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000000000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000840000008400000084
      00000084000000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000084
      0000008400000084000000000000000000000000000000000000000000000000
      00000000000000000000008400000084000000840000008400000000FF000000
      FF000000FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000000
      FF000000FF000000FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000000
      0000000000000084840000848400008484000084840000848400008484000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400008484000084840000000000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      000000000000000000000084000000840000008400000000FF000000FF000000
      FF00008400000084000000840000008400000084000000840000008400000084
      00000000FF000000FF000000FF00008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000000
      0000000000000000000000848400008484000084840000848400008484000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400008484000000000000840000008400000084000000840000008400000084
      0000008400000000000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000FFFF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000000FF000000FF000000FF000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000000FF000000FF000000FF000084000000840000008400000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000000
      0000000000000000000000000000008484000084840000848400008484000084
      8400008484000084840000848400008484000084840000848400008484000084
      8400000000000084000000840000008400000084000000840000008400000084
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000000000000FFFF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      00000000000000000000008400000000FF000000FF000000FF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      000000840000008400000000FF000000FF000000FF0000840000008400000084
      0000008400000084000000000000000000000000000000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF0000FFFF000000000000FF
      FF000000000000FFFF00000000000000000000FFFF000000000000FFFF000000
      000000FFFF00000000000000000000FFFF0000FFFF000000000000FFFF000000
      000000FFFF000000000000FFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000848400008484000084
      8400008484000084840000848400008484000084840000848400000000000000
      0000008400000084000000840000008400000084000000840000008400000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000000000000FFFF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF0000FFFF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      00000084000000840000008400000000FF000000FF000000FF00008400000084
      0000008400000084000000000000000000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000008484000084840000848400000000000000000000000000008400000084
      0000008400000084000000840000008400000084000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000000000000FFFF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF000000000000FFFF00008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000000FF000000FF000000FF000084
      0000008400000084000000000000000000000000000000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      0000008400000084000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF00008400000084000000840000008400000084
      0000008400000084000000840000008400000084000000840000008400000084
      000000840000008400000084000000840000008400000000FF000000FF000000
      FF00008400000084000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000C6C6C600C6C6C600C6C6C600000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF0000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000C6C6C600C6C6C600C6C6C600C6C6C600C6C6C6000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF00000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000C6C6C600C6C6C600C6C6C60000000000C6C6C600C6C6C600C6C6
      C600000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000C6C6C600C6C6C600000000000000000000000000C6C6C600C6C6
      C600000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF0000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000C6C6C600C6C6C600C6C6C60000000000C6C6C600C6C6C600C6C6
      C600000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000FF000000FF000000FF000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000
      FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000
      00000000000000000000C6C6C600C6C6C600C6C6C600C6C6C600C6C6C6000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF00000000000000
      00000000000000000000000000000000000000000000000000000000FF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000FF0000000000000000000000
      0000000000000000000000000000C6C6C600C6C6C600C6C6C600000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF0000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000FF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000FF0000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000008400000084000000840000008400
      0000840000008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000084000000840000000000FF000000FF000000FF008400
      0000840000008400000084000000840000008400000084000000840000008400
      0000840000000000FF000000FF000000FF000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000FF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000FF000000FF000000FF0000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000840000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF0000FFFF0084000000000084000000840000008400000084008400
      0000000084008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000840000000000000000FFFF000000FF000000FF000000
      FF0000FFFF0000FFFF0084000000000084000000840000008400000084008400
      00000000FF000000FF000000FF00000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000FF0000000000000000000000
      000000000000000000000000000000000000000000000000000000000000FF00
      0000FF000000FF000000FF000000FF0000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000840000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF0000FFFF0084000000000084000000840000008400000084008400
      0000000084008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000840000000000000000FFFF00840000000000FF000000
      FF000000FF0000FFFF0084000000000084000000840000008400000084000000
      FF000000FF000000FF0084000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000FF0000000000000000000000
      00000000000000000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF0000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000008400000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000008400000084000000840000008400
      0000840000008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000008400000084000000840000008400000084000000840000000000
      FF000000FF000000FF00840000008400000084000000840000000000FF000000
      FF000000FF008400000084000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000FF0000000000000000000000
      00000000000000000000FF000000FF000000FF000000FF000000FF000000FF00
      0000FF000000FF000000FF000000FF0000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000084000000000000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF0000FFFF0084000000000084000000840000008400000084008400
      0000000084000000000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000084000000000000000000000000FFFF008400000000FFFF0000FF
      FF000000FF000000FF000000FF0000008400000084000000FF000000FF000000
      FF00000084000000000084000000840000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF
      FF0000FFFF0000FFFF0000FFFF0000FFFF000000FF0000000000000000000000
      0000000000000000000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000084000000000000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF0000FFFF0084000000848400008484000084840000000000008400
      0000000000000000000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000084000000000000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF000000FF000000FF000000FF000000FF000000FF000000FF008400
      0000000000000000000084000000840000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000
      FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000
      0000000000000000000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000840000008400000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000840000008400000084000000840000008400000084000000840000008400
      000084000000840000000000FF000000FF000000FF000000FF00840000008400
      0000840000008400000084000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000008400000084000000
      8400000084000000840000008400000084000000840000008400000084000084
      0000008400000084000000840000008400000084000000840000000000000000
      0000000000000000000084000000840000008400000084000000840000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00008400000000000000000000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF0000FFFF0084000000848400008484000084840000000000008400
      0000000000000000000000000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00008400000000000000000000000000000000FFFF008400000000FFFF0000FF
      FF0000FFFF0000FFFF000000FF000000FF000000FF000000FF00000000008400
      0000000000000000000000000000840000000000000000000000000000000000
      0000000000000000000000000000000000000000000000008400840084008400
      8400840084008400840084008400840084008400840084008400000084000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000084000000840000008400000084000000840000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000
      FF000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00008400000000000000FF00FF00FF00FF00FF00FF0084000000FF00FF00FF00
      FF00FF00FF000000000084000000848400008484000084840000000000008400
      0000000000000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00008400000000000000FF00FF00FF00FF00FF00FF0084000000FF00FF00FF00
      FF00FF00FF000000FF000000FF000000FF000000FF000000FF000000FF008400
      0000000000000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000008400840084008400
      8400840084008400840084008400840084008400840084008400000084000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000084000000840000008400000084000000840000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000
      FF000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000840000008400000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000008400000084000000840000008400
      0000840000008400000084000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000840000008400000084000000840000008400000084000000840000008400
      00000000FF000000FF000000FF0084000000840000000000FF000000FF000000
      FF00840000008400000084000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000008400840084008400
      8400840084008400840084008400840084008400840084008400000084000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000840000008400000084000000840000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000FF000000FF000000FF000000
      FF000000FF000000FF000000000000000000000000000000FF000000FF000000
      FF000000FF000000FF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000008400
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF000000000000000000848400008484000084840000000000000000
      0000000000000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000008400
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF000000
      FF000000FF000000FF00000000008484000084840000848400000000FF000000
      FF000000FF000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000008400840084008400
      8400840084008400840084008400840084008400840084008400000084000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000840000008400000084000000840000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF000000FF000000
      FF000000FF00000000000000000000000000000000000000FF000000FF000000
      FF000000FF000000FF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000008400
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF000000000000000000848400008484000084840000000000000000
      0000000000000000000000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000008400
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF000000FF000000
      FF000000FF000000000000000000848400008484000084840000000000000000
      FF000000FF000000FF0000000000840000008400000000000000000000000000
      0000000000000000000000000000000000000000000000008400000084000000
      8400000084000000840000008400000084000000840000008400000084000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF000000FF000000
      FF000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
      FF00FF00FF000000000000000000848400008484000084840000000000000000
      0000000000000000000000000000000000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000FF00FF00FF00FF00FF00FF000000FF000000FF000000
      FF00FF00FF000000000000000000848400008484000084840000000000000000
      00000000FF000000FF000000FF00000000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF000000FF000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF008400000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF000000FF000000FF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000008400000084000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF0084000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF000000FF000000FF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000008400000084000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF000000FF000000FF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000084000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000FF000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000084
      0000848400008484000084840000848400008484000000840000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000084000000840000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000084
      0000008400000084000000840000008400000084000000840000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000FF000000FF000000FF000000FF00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000084000000840000008400
      0000840000008400000084000000000000000000000000000000000000000000
      FF000000FF000000FF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000840000000000FF000000
      FF000000FF008400000084000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FF000000FF0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      FF000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      FF000000FF000000FF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000FF000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000FF000000FF00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000424D3E000000000000003E000000
      2800000080000000A00000000100010000000000000A00000000000000000000
      000000000000000000000000FFFFFF0000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFF0FFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFE01FFFFFFF9E0FFFFFFFFFFFFFFFFE07E0003FFF
      FE0403FFFFFFFFFFFFFFC007E00007FFF80001FFFF803A23FE01C007C000001F
      E00000FFFF803AAFE001C007C00000078000007FFF803AB7E000E00FC0000003
      0000007FF0803ABBE000F88FC00000018000003FF78032ABE000F88FC0000001
      C000003FF7807A23E000F89FC0000003C000001FF783FFFFE000F8FFC0000003
      C2000007F7FFFFFFE000F8FFC0000003E7000001F7FFFFFFE000F8FFC0000003
      FE000000F7FFFFFFE000F8FFC0000003FC000001F7803A37E000F8FFC0000003
      FC000007F7803AB7E000F8FF80000003FE00000FF7803AB7E000F8FF80000003
      FE000007F0803AB7E000F8FF80000003FC000003F78032A7E000F8FF80000003
      FC000019F7807A37E00078FF80000003FE00000FF783FFFFE00078FF80000003
      FF000007F7FFFFFFE00078FFC0000003FF800043F7FFFFFFE00078FFC0000003
      FF8000E3FFFFFFFFE00078FFF0000003FF1000E3C01F47FFE00070FFF0000003
      FF310243C01F57FFE00070FFF0000003FF23C107C01F57FFE00070FFF8800003
      FF07E007C01F57FFE6FFF8FFFFF80007FF8FF00FC01E57FFFC000003FFFC0007
      FFFFF80FC03F47FFFE000003FFFC7F0FFFFFFC1FC1FFFFFFFFFFFFFFFFFFFFDF
      FFFFFE3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      80000001FF0F0FFFFFFFFFFFFFFFFFFF80000001FE0607FFCFFFFFFFFFFFFFFF
      80000001FE0607FFC3E7FFFFFFFFFFFF80000001FE0607FFC0001FFFFFFFFFFF
      80000001FE0607FFC000007FFFFFFFFF80000001FF0F0FFFC0000003FFFFFFFF
      80000001FFFFFFFFC0000003FFFFFFFF80000001FFFDFFFFC000000383FFFFFF
      80000001FC0001FFC00000030007FFFF80000001FD0001FFC000000300001FFF
      80000001FD0001FFC00000030000007F80000001F80001FFC000000300000003
      80000001FB0004FFC00000030000000080000001FB002CFFC000000300000000
      80000001F00000FFC00000030000000080000001F7002EFFC000000300000000
      80000001F4002E7FC00000030000000080000001F000007FC000000300000000
      80000001EC003E7FC0000003F870000180000001EC001E7FC0000003FFFC0000
      80000001FC000F7FC0000003FFFFF81F80000001FFC40F7FC0000003FFFFFC1F
      80000001FF800F3FC0000003FFFFFF1F80000001FF800F3FC0000003FFFFFFFF
      80000001FF800FBFC0000003FFFFFFFF80000001FFC01F9FC0000003FFFFFFFF
      80000001FFE03F81C0000003FFFFFFFF80000001FFF07FFFFF0000FFFFFFFFFF
      80000001FFFFFFFFFF0000FFFFFFFFFF80000001FFFFFFFFFFFFFFFFFFFFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      FFFFFFFF9FFFFFF9FFFFFFFF8000001FFFFFFFFF8FFFFFF1FFFFFFFF8000000F
      FF0FE1FFC70FE1E38000000180000003FE07C0FFE207C0C78000000180000001
      FC03807FF003800F8000000180000000FC03807FF803801F8000000180000000
      FC03807FFC03803F8000000180000000FC038040FC0380408000000180000000
      F606C0C0F606C0C08000000180000000F30C6180F30C61808000000180000000
      F1F83F00F1C023008000000180000000F0000000F00000008000000180000000
      F0000000F000000080000001C0000000FFFFFFFFFFF81FFF80000001C0000000
      F8000001F800000180000001C0000000F8000001F800000180000001C0000000
      F8000001F800000180000001E0000000F9F80001F9F0000180000001E0000000
      F80FFFC1F803C7C180000001F0000000F8000001F800000180000001F0000001
      F8000001F800000180000001F8000001F8000001F800000180000001FC000003
      F8800001F800000180000001FE000007F8800001F800000180000001FF80000F
      F8800001F880000180000001FFF0003FF8000001F0000001FFFFFFFFFFFFFFFF
      F8000001E0000001FFFFFFFFFFFFFFFFFFFFFFFFC7FFFFE3FFFFFFFFFFFFFFFF
      FFFFFFFF8FFFFFF1FFFFFFFFFFFFFFFFFFFFFFFF9FFFFFF9FFFFFFFFFFFFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE3F
      FFFFFFFFFF0F0FFF9F0F0FF9FFFFF80FFFFFFFFFFE0607FF8E0607F1FFFFD80F
      FFFFFFFFFE0607FFC60607E3FFF01007FFFFFFFFFE0607FFE20607C7FE001007
      FFFFFFFFFE0607FFF006078FE000D007FFFFFFFFFF0F0FFFF80F0F1FC000580C
      FFFFFFFFFFFFFFFFFC7FFE3FC0004808FFFE3FFFFFFFFFFFFE3FFC7FC0004E38
      FFC001FFFC0001FFFC0000FFC00043E0FFDC1DFFFD0001FFFD0001FFC0004000
      FFDC1DFFFD0001FFFD0001FFC0004000FFD81DFFF80001FFF80001FFC0004000
      FFD81DFFFB0004FFFB0004FFC0006000FFD00DFFFB002CFFFB000CFFC0006000
      FFD00DFFF00000FFF00000FF8000201FFFC00DFFF7002EFFF7002EFF8000201F
      FFC105FFF4042E7FF4000E7F8000201FFF8185FFF000007FF000007F8000301F
      FF0381FFEC063E7FEC02067F8000300BFE0781FFEC063E7FEC06227F800031F7
      FE0FC1FFFC063F7FFC06317FFFE031EFFE0001FFFFFFFF7FFF1FF87FFFE031FF
      FF3FE0FFFFFFFF3FFE3FFC3FFFE031FFFFFFF07FFFFFFF3FFC7FFE3FFFE031FF
      FFFFF07FFFFFFFBFF8FFFF1FFFE031FFFFFFF83FFFFFFF9FF1FFFF8FFFE031FF
      FFFFFC3FFFFFFF81E3FFFF81FFFFF1FFFFFFFE7FFFFFFFFFC7FFFFE3FFFFFFFF
      FFFFFFFFFFFFFFFF8FFFFFF1FFFFFFFFFFFFFFFFFFFFFFFF9FFFFFF9FFFFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
  end
  object dbxMedLikuciai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT PK.PREKESID,'
      '        SN.pnr,'
      '        SN.storis,'
      '        SN.plotis,'
      '        SN.rusis,'
      '        SN.tipas,'
      '        SN.kaina,'
      '        SN.kainaDarb,'
      '        SN.kainaSausa,'
      '        SUM(PK.kiekis) AS kiekis,'
      '        SUM(PK.kiekis*SN.plotas) AS visoPlotas,'
      '        SUM(PK.kiekis*SN.turis) AS visoTuris,'
      '        MAX(PK.data) AS DATA,'
      '        MIN(SN.SN) AS SN,'
      '        MIN(SN.ilgis) AS MinIlgis,'
      '        MAX(SN.ilgis) AS MaxIlgis,'
      '        P.Kodas,'
      '        P.Matas,'
      '        P.Pavadinimas,'
      '        G.PVM, G.PrPsl, G.T, G.Pavadinimas AS Grupe,'
      '        G.ANuolaida AS GANuolaida'
      'FROM prekiu_kartotekos PK'
      
        'LEFT OUTER JOIN medSN SN ON (SN.PREKESID = PK.PREKESID AND SN.SN' +
        ' = PK.SERNR)'
      'LEFT OUTER JOIN prekes P ON (P.ID = PK.PREKESID)'
      'LEFT OUTER JOIN ppg PG ON (PG.ID = P.ID)'
      'LEFT OUTER JOIN prekiu_grupes G ON (P.GRUPESID = G.ID)'
      'GROUP BY'
      '        PK.PREKESID, '
      '        SN.pnr,'
      '        SN.storis,'
      '        SN.plotis,'
      '        SN.rusis,'
      '        SN.tipas,'
      '        SN.kaina,'
      '        SN.kainaDarb,'
      '        SN.kainaSausa ,'
      '        P.Kodas,'
      '        P.Matas,'
      '        P.Pavadinimas,'
      '        G.PVM, G.PrPsl, G.T, G.Pavadinimas,'
      '        G.ANuolaida ,'
      '        P.GrupesID,'
      '        PG.GID'
      'HAVING (SUM(PK.kiekis) > 0) AND (SN.pnr <> '#39#39')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 352
    Top = 65535
    object dbxMedLikuciaiPrekesID: TIntegerField
      DisplayLabel = 'Prekes ID'
      FieldName = 'PrekesID'
      Required = True
    end
    object dbxMedLikuciaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
    end
    object dbxMedLikuciaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedLikuciaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedLikuciairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedLikuciaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedLikuciaikaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object dbxMedLikuciaikainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object dbxMedLikuciaikainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object dbxMedLikuciaiPAVADINIMAS: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 25
      FieldName = 'PAVADINIMAS'
      Required = True
      Size = 150
    end
    object dbxMedLikuciaiMATAS: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 4
      FieldName = 'MATAS'
      Required = True
      Size = 10
    end
    object dbxMedLikuciaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
      Visible = False
    end
    object dbxMedLikuciaiPRPSL: TWideStringField
      DisplayLabel = 'Pr.psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object dbxMedLikuciaiGRUPE: TWideStringField
      DisplayLabel = 'Grup'#279's pavadinimas'
      FieldName = 'GRUPE'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedLikuciaiKODAS: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 12
      FieldName = 'KODAS'
    end
    object dbxMedLikuciaiGANUOLAIDA: TWideStringField
      DisplayLabel = 'Nuolaida?'
      FieldName = 'GANUOLAIDA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedLikuciaikiekis: TFloatField
      FieldName = 'kiekis'
    end
    object dbxMedLikuciaivisoPlotas: TFloatField
      FieldName = 'visoPlotas'
    end
    object dbxMedLikuciaivisoTuris: TFloatField
      FieldName = 'visoTuris'
    end
    object dbxMedLikuciaidata: TDateTimeField
      FieldName = 'data'
    end
    object dbxMedLikuciaiSN: TWideStringField
      FieldName = 'SN'
    end
    object dbxMedLikuciaiMINILGIS: TFloatField
      FieldName = 'MINILGIS'
    end
    object dbxMedLikuciaiMAXILGIS: TFloatField
      FieldName = 'MAXILGIS'
    end
  end
  object dspMedLikuciai: TDataSetProvider
    DataSet = dbxMedLikuciai
    Options = [poDisableInserts, poDisableEdits, poDisableDeletes, poAllowCommandText, poUseQuoteChar]
    UpdateMode = upWhereKeyOnly
    Left = 360
    Top = 13
  end
  object tbMedLikuciai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    Params = <>
    ProviderName = 'dspMedLikuciai'
    Left = 374
    Top = 26
    object tbMedLikuciaiPrekesID: TIntegerField
      DisplayLabel = 'Prekes ID'
      FieldName = 'PrekesID'
      Required = True
    end
    object tbMedLikuciaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
    end
    object tbMedLikuciaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedLikuciaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedLikuciairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedLikuciaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedLikuciaikaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object tbMedLikuciaikainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object tbMedLikuciaikainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object tbMedLikuciaikiekis: TFloatField
      FieldName = 'kiekis'
    end
    object tbMedLikuciaiPAVADINIMAS: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 25
      FieldName = 'PAVADINIMAS'
      Required = True
      Size = 150
    end
    object tbMedLikuciaiMATAS: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 4
      FieldName = 'MATAS'
      Required = True
      Size = 10
    end
    object tbMedLikuciaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
      Visible = False
    end
    object tbMedLikuciaiPRPSL: TWideStringField
      DisplayLabel = 'Pr.psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbMedLikuciaiGRUPE: TWideStringField
      DisplayLabel = 'Grup'#279's pavadinimas'
      FieldName = 'GRUPE'
      ProviderFlags = []
      Size = 50
    end
    object tbMedLikuciaiKODAS: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 12
      FieldName = 'KODAS'
    end
    object tbMedLikuciaiGANUOLAIDA: TWideStringField
      DisplayLabel = 'Nuolaida?'
      FieldName = 'GANUOLAIDA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbMedLikuciaivisoPlotas: TFloatField
      DisplayLabel = 'Viso, m'#178
      FieldName = 'visoPlotas'
      DisplayFormat = '0.0000'
    end
    object tbMedLikuciaivisoTuris: TFloatField
      DisplayLabel = 'Viso, m'#179
      FieldName = 'visoTuris'
      DisplayFormat = '0.0000'
    end
    object tbMedLikuciaidata: TDateField
      FieldName = 'data'
    end
    object tbMedLikuciaiSN: TWideStringField
      FieldName = 'SN'
    end
    object tbMedLikuciaiMINILGIS: TFloatField
      FieldName = 'MINILGIS'
    end
    object tbMedLikuciaiMAXILGIS: TFloatField
      FieldName = 'MAXILGIS'
    end
    object tbMedLikuciaiMinMaxIlgis: TWideStringField
      DisplayLabel = 'Min -max ilgis'
      FieldKind = fkInternalCalc
      FieldName = 'MinMaxIlgis'
    end
  end
  object dbxMedGamybaS: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'DokTipas'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MV.Pavarde AS V_Pavarde, MV.Pareigos AS V_Pareigos,'
      ' MT.Pavarde AS T_Pavarde, MT.Pareigos AS T_Pareigos,'
      ' T.Marke,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      ' MP.Pavarde AS P_Pavarde, MP.Pareigos AS P_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      
        ' ST.Pavadinimas AS San_Tarp_Pavadinimas,  ST.Adresas AS San_Tarp' +
        '_Adresas,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      ',(SELECT SUM(PI.BazSavikaina) '
      '  FROM medGamyba_komp_irasai PI'
      '  WHERE PI.ID = M.ID) AS BazVisoSavikaina'
      ',(SELECT SUM(PI.turis*PI.Kiekis)'
      '  FROM medGamyba_komp_irasai PI'
      '  WHERE (PI.ID = M.ID) AND (PI.Operacija = '#39'K'#39')) AS VisoSupjauta'
      ',(SELECT SUM(PI.turis*PI.Kiekis)'
      '  FROM medGamyba_komp_irasai PI'
      
        '  WHERE (PI.ID = M.ID) AND (PI.Operacija = '#39'I'#39')) AS VisoPagamint' +
        'a'
      ', Z.SData AS ZS_Data, Z.SLaikas AS ZS_Laikas'
      ', Z.TData AS ZT_Data, Z.TLaikas AS ZT_Laikas'
      ', ZS.Pavarde AS ZS_Pavarde, ZT.Pavarde AS ZT_Pavarde'
      ',Z.SDarbID'
      ',Z.DOKTIPAS'
      ''
      ',DEP.FID AS DepFID'
      ',FDEP.Kodas AS DepKodas'
      ',FDEP.IKodas AS DepIKodas'
      ',FDEP.PVMKodas AS DepPVMKodas'
      ',FDEP.Pavadinimas AS DepPavadinimas'
      ',DEP.KF AS DepKF'
      ''
      'FROM medGamyba M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MV ON (MV.ID = M.Vairuotojas)'
      'LEFT OUTER JOIN darbuotojai MT ON (MT.ID = M.Tr_paeme)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN darbuotojai MP ON (MP.ID = M.Pr_prieme)'
      'LEFT OUTER JOIN transportas T ON (T.Valst_nr = M.Transportas)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN darbuotojai ZS ON (ZS.ID = Z.SDarbID)'
      'LEFT OUTER JOIN darbuotojai ZT ON (ZT.ID = Z.TDarbID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'LEFT OUTER JOIN sandeliai ST ON (ST.ID = M.Sandelys_Tarp)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      ''
      'LEFT OUTER JOIN depart DEP ON (DEP.ID = M.DepID)'
      'LEFT OUTER JOIN firmos FDEP ON (FDEP.ID = DEP.FID)'
      ''
      
        'WHERE ((Z.SDarbID IS NULL)  OR ((0) >= :SDarbID) OR (Z.SDarbID =' +
        ' :SDarbID))'
      'AND (Z.DOKTIPAS = :DokTipas)'
      'AND ('
      ' (M.ID= :ID) OR (Z.PATVIRTINTA <> '#39'+'#39') OR'
      ' ( '
      '          (M.OpData BETWEEN :DataNuo AND :DataIki)'
      ' AND ((M.Sandelys_I = :S_IN) OR ((0) >= :S_IN))'
      ' AND ((M.Sandelys_Is = :S_OU) OR ((0) >= :S_OU))'
      ' AND ((M.DepID = :Depart) OR ((0) >= :Depart))'
      ' )'
      ')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 16
    Top = 268
  end
  object dspMedGamybaS: TDataSetProvider
    DataSet = dbxMedGamybaS
    Options = []
    Left = 24
    Top = 278
  end
  object tbMedGamybaS: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'DokTipas'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedGamybaS'
    Left = 34
    Top = 291
    object IntegerField13: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField3: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField39: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField14: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object StringField40: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField41: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object DateField4: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField42: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField15: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object StringField43: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField44: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object IntegerField16: TIntegerField
      FieldName = 'SANDELYS_TARP'
      Visible = False
    end
    object StringField45: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_TARP_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object StringField46: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio adresas'
      FieldName = 'SAN_TARP_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object CurrencyField1: TCurrencyField
      Tag = 1
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      currency = False
    end
    object IntegerField17: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField47: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField48: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField18: TIntegerField
      FieldName = 'VAIRUOTOJAS'
      Visible = False
    end
    object StringField49: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pavard'#279
      DisplayWidth = 15
      FieldName = 'V_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField50: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pareigos'
      DisplayWidth = 15
      FieldName = 'V_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField19: TIntegerField
      FieldName = 'TR_PAEME'
      Visible = False
    end
    object StringField51: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'T_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField52: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'T_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField53: TWideStringField
      Tag = 1
      DisplayLabel = 'Valst.Nr.'
      FieldName = 'TRANSPORTAS'
      Visible = False
      Size = 6
    end
    object StringField54: TWideStringField
      Tag = 1
      DisplayLabel = 'Mark'#279
      FieldName = 'MARKE'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object IntegerField20: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField55: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField56: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField21: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object StringField57: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField58: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField59: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object StringField60: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField61: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object tbMedGamybaSSDarbID: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object tbMedGamybaSZS_Data: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object tbMedGamybaSZS_Laikas: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object tbMedGamybaSZS_Pavarde: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object tbMedGamybaSZT_Data: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object tbMedGamybaSZT_Laikas: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object tbMedGamybaSZT_Pavarde: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object tbMedGamybaSBazVisoSavikaina: TFMTBCDField
      DisplayLabel = 'Baz.Viso Savikaina'
      FieldName = 'BAZVISOSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object tbMedGamybaSDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object tbMedGamybaSDepFID: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object tbMedGamybaSDepKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbMedGamybaSDepIKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object tbMedGamybaSDepPVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object tbMedGamybaSDepPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object tbMedGamybaSDepKF: TWideStringField
      DisplayLabel = 'Pad.kodas/funkcija'
      FieldName = 'DEPKF'
      ProviderFlags = []
    end
    object tbMedGamybaSVisoSupjauta: TFloatField
      DisplayLabel = 'Viso Supjauta'
      FieldName = 'VisoSupjauta'
      DisplayFormat = '0.0000'
    end
    object tbMedGamybaSVisoPagaminta: TFloatField
      DisplayLabel = 'Viso Pagaminta'
      FieldName = 'VisoPagaminta'
      DisplayFormat = '0.0000'
    end
    object tbMedGamybaSVisoIseiga: TFloatField
      DisplayLabel = 'Viso I'#353'eiga'
      FieldKind = fkInternalCalc
      FieldName = 'VisoIseiga'
      DisplayFormat = '0.00'
    end
    object tbMedGamybaSDOKTIPAS: TIntegerField
      FieldName = 'DOKTIPAS'
    end
  end
  object dsMedGamybaS: TDataSource
    DataSet = tbMedGamybaS
    Left = 40
    Top = 303
  end
  object dbxMedGamyba: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MV.Pavarde AS V_Pavarde, MV.Pareigos AS V_Pareigos,'
      ' MT.Pavarde AS T_Pavarde, MT.Pareigos AS T_Pareigos,'
      ' T.Marke,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      ' MP.Pavarde AS P_Pavarde, MP.Pareigos AS P_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      
        ' ST.Pavadinimas AS San_Tarp_Pavadinimas,  ST.Adresas AS San_Tarp' +
        '_Adresas,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      'FROM medGamyba M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MV ON (MV.ID = M.Vairuotojas)'
      'LEFT OUTER JOIN darbuotojai MT ON (MT.ID = M.Tr_paeme)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN darbuotojai MP ON (MP.ID = M.Pr_prieme)'
      'LEFT OUTER JOIN transportas T ON (T.Valst_nr = M.Transportas)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'LEFT OUTER JOIN sandeliai ST ON (ST.ID = M.Sandelys_Tarp)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      'WHERE (M.ID= :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 104
    Top = 264
    object dbxMedGamybaID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaAtsakingas: TIntegerField
      FieldName = 'ATSAKINGAS'
    end
    object dbxMedGamybaVairuotojas: TIntegerField
      FieldName = 'VAIRUOTOJAS'
    end
    object dbxMedGamybaTr_paeme: TIntegerField
      FieldName = 'TR_PAEME'
    end
    object dbxMedGamybaTransportas: TWideStringField
      FieldName = 'TRANSPORTAS'
      Size = 6
    end
    object dbxMedGamybaPr_isdave: TIntegerField
      FieldName = 'PR_ISDAVE'
    end
    object dbxMedGamybaSandelys_Is: TIntegerField
      FieldName = 'SANDELYS_IS'
    end
    object dbxMedGamybaOpData: TDateField
      FieldName = 'OPDATA'
    end
    object dbxMedGamybaOpLaikas: TWideStringField
      FieldName = 'OPLAIKAS'
      FixedChar = True
      Size = 5
    end
    object dbxMedGamybaSandelys_Tarp: TIntegerField
      FieldName = 'SANDELYS_TARP'
    end
    object dbxMedGamybaPr_prieme: TIntegerField
      FieldName = 'PR_PRIEME'
    end
    object dbxMedGamybaSandelys_I: TIntegerField
      FieldName = 'SANDELYS_I'
    end
    object dbxMedGamybaOpData_I: TDateField
      FieldName = 'OPDATA_I'
    end
    object dbxMedGamybaOpLaikas_I: TWideStringField
      FieldName = 'OPLAIKAS_I'
      FixedChar = True
      Size = 5
    end
    object dbxMedGamybaBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      FixedChar = True
      Size = 3
    end
    object dbxMedGamybaA_Pavarde: TWideStringField
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedGamybaA_Pareigos: TWideStringField
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object dbxMedGamybaV_Pavarde: TWideStringField
      FieldName = 'V_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedGamybaV_Pareigos: TWideStringField
      FieldName = 'V_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object dbxMedGamybaT_Pavarde: TWideStringField
      FieldName = 'T_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedGamybaT_Pareigos: TWideStringField
      FieldName = 'T_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object dbxMedGamybaMarke: TWideStringField
      FieldName = 'MARKE'
      ProviderFlags = []
    end
    object dbxMedGamybaI_Pavarde: TWideStringField
      FieldName = 'I_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedGamybaI_Pareigos: TWideStringField
      FieldName = 'I_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object dbxMedGamybaP_Pavarde: TWideStringField
      FieldName = 'P_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedGamybaP_Pareigos: TWideStringField
      FieldName = 'P_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object dbxMedGamybaSan_I_Pavadinimas: TWideStringField
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxMedGamybaSan_I_Adresas: TWideStringField
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxMedGamybaSan_Tarp_Pavadinimas: TWideStringField
      FieldName = 'SAN_TARP_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxMedGamybaSan_Tarp_Adresas: TWideStringField
      FieldName = 'SAN_TARP_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxMedGamybaSan_Is_Pavadinimas: TWideStringField
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxMedGamybaSan_Is_Adresas: TWideStringField
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxMedGamybaPatvirtinta: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedGamybaTurinys: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Size = 100
    end
    object dbxMedGamybaDepID: TIntegerField
      FieldName = 'DEPID'
    end
  end
  object dsxMedGamyba: TDataSource
    DataSet = dbxMedGamyba
    Left = 116
    Top = 275
  end
  object dbxMedGamybaIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedGamyba
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*'
      ' ,A.BazValiuta'
      'FROM medGamyba_irasai M'
      'INNER JOIN medGamyba A ON (A.ID = M.ID)'
      'WHERE (M.ID = :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 179
    Top = 262
    object dbxMedGamybaIrasaiID: TIntegerField
      FieldName = 'ID'
      Required = True
    end
    object dbxMedGamybaIrasaiNr: TIntegerField
      FieldName = 'NR'
      Required = True
    end
    object dbxMedGamybaIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object dbxMedGamybaIrasaiKiekis: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxMedGamybaIrasaiMID: TIntegerField
      FieldName = 'MID'
    end
    object dbxMedGamybaIrasaiBazSavikaina: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaIrasaiBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
  end
  object dsxMedGamybaIrasai: TDataSource
    DataSet = dbxMedGamybaIrasai
    Left = 192
    Top = 288
  end
  object dbxMedGamybaKIsIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedGamybaIrasai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end
      item
        DataType = ftInteger
        Name = 'MID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GrupesID,'
      ' P.Kodas,'
      ' P.BKodas,'
      ' P.Pavadinimas,'
      ' P.Matas,'
      ' P.GKodas,'
      ' P.EKAKodas,'
      ' P.EKAPavadinimas,'
      ' P.PKainaG,P.PKainaD1,P.PKainaD2,P.PKainaD3,'
      ' P.MVKodas, P.KNKodas, P.Netto,'
      ' PG.Pavadinimas AS GrPavadinimas,'
      ' PG.PVM,'
      ' PG.PrPsl,'
      ' A.BazValiuta'
      'FROM medGamyba_komp_irasai M'
      'INNER JOIN medGamyba A ON (A.ID = M.ID)'
      'INNER JOIN prekes P ON (M.PrekesID = P.ID)'
      'INNER JOIN prekiu_grupes PG ON (P.GrupesID = PG.ID)'
      'WHERE (M.ID = :ID) AND (M.MID = :MID) AND (M.Operacija = '#39'K'#39')'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 279
    Top = 262
    object dbxMedGamybaKIsIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIsIrasaiMID: TIntegerField
      FieldName = 'MID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIsIrasaiOperacija: TWideStringField
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      FixedChar = True
      Size = 1
    end
    object dbxMedGamybaKIsIrasaiNr: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIsIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object dbxMedGamybaKIsIrasaiKiekis: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxMedGamybaKIsIrasaiBazSavikaina: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIsIrasaiSerNr: TWideStringField
      FieldName = 'SERNR'
    end
    object dbxMedGamybaKIsIrasaiBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object dbxMedGamybaKIsIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object dbxMedGamybaKIsIrasaiKodas: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object dbxMedGamybaKIsIrasaiBKodas: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object dbxMedGamybaKIsIrasaiPavadinimas: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object dbxMedGamybaKIsIrasaiMatas: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedGamybaKIsIrasaiGKodas: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object dbxMedGamybaKIsIrasaiEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedGamybaKIsIrasaiEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object dbxMedGamybaKIsIrasaiGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedGamybaKIsIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object dbxMedGamybaKIsIrasaiPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedGamybaKIsIrasaiPKainaG: TFMTBCDField
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIsIrasaiPKainaD1: TFMTBCDField
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIsIrasaiPKainaD2: TFMTBCDField
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIsIrasaiPKainaD3: TFMTBCDField
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIsIrasaiNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object dbxMedGamybaKIsIrasaiKNKodas: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object dbxMedGamybaKIsIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object dbxMedGamybaKIsIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object dbxMedGamybaKIsIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIsIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIsIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIsIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIsIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedGamybaKIsIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIsIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIsIrasaidarbID: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object dbxMedGamybaKIsIrasaikaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object dbxMedGamybaKIsIrasaikainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object dbxMedGamybaKIsIrasaikainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object dbxMedGamybaKIsIrasaiMVKodas: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object dbxMedGamybaKIsIrasaiVisoKiekis: TFloatField
      FieldName = 'VisoKiekis'
    end
    object dbxMedGamybaKIsIrasaiKiekioSkirtumas: TFloatField
      FieldName = 'KiekioSkirtumas'
    end
    object dbxMedGamybaKIsIrasaierror: TWideStringField
      FieldName = 'error'
      Size = 255
    end
  end
  object dbxMedGamybaKIIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedGamybaIrasai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end
      item
        DataType = ftInteger
        Name = 'MID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GrupesID,'
      ' P.Kodas,'
      ' P.BKodas,'
      ' P.Pavadinimas,'
      ' P.Matas,'
      ' P.GKodas,'
      ' P.EKAKodas,'
      ' P.EKAPavadinimas,'
      ' P.PKainaG,P.PKainaD1,P.PKainaD2,P.PKainaD3,'
      ' P.MVKodas, P.KNKodas, P.Netto,'
      ' PG.Pavadinimas AS GrPavadinimas,'
      ' PG.PVM,'
      ' PG.PrPsl,'
      ' A.BazValiuta'
      'FROM medGamyba_komp_irasai M'
      'INNER JOIN medGamyba A ON (A.ID = M.ID)'
      'INNER JOIN prekes P ON (M.PrekesID = P.ID)'
      'INNER JOIN prekiu_grupes PG ON (P.GrupesID = PG.ID)'
      'WHERE (M.ID = :ID) AND (M.MID = :MID) AND (M.Operacija = '#39'I'#39')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 284
    Top = 304
    object dbxMedGamybaKIIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIIrasaiMID: TIntegerField
      FieldName = 'MID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIIrasaiOperacija: TWideStringField
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      FixedChar = True
      Size = 1
    end
    object dbxMedGamybaKIIrasaiNr: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object dbxMedGamybaKIIrasaiKiekis: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxMedGamybaKIIrasaiBazSavikaina: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIIrasaiDalis: TFloatField
      FieldName = 'DALIS'
    end
    object dbxMedGamybaKIIrasaiSerNr: TWideStringField
      FieldName = 'SERNR'
    end
    object dbxMedGamybaKIIrasaiValKaina: TFMTBCDField
      FieldName = 'VALKAINA'
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIIrasaiValiuta: TWideStringField
      FieldName = 'VALIUTA'
      FixedChar = True
      Size = 3
    end
    object dbxMedGamybaKIIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object dbxMedGamybaKIIrasaiKodas: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object dbxMedGamybaKIIrasaiBKodas: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object dbxMedGamybaKIIrasaiPavadinimas: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object dbxMedGamybaKIIrasaiMatas: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedGamybaKIIrasaiGKodas: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object dbxMedGamybaKIIrasaiEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedGamybaKIIrasaiEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object dbxMedGamybaKIIrasaiGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedGamybaKIIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object dbxMedGamybaKIIrasaiPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedGamybaKIIrasaiBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object dbxMedGamybaKIIrasaiPKainaG: TFMTBCDField
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIIrasaiPKainaD1: TFMTBCDField
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIIrasaiPKainaD2: TFMTBCDField
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIIrasaiPKainaD3: TFMTBCDField
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedGamybaKIIrasaiNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object dbxMedGamybaKIIrasaiKNKodas: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object dbxMedGamybaKIIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object dbxMedGamybaKIIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object dbxMedGamybaKIIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedGamybaKIIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedGamybaKIIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedGamybaKIIrasaidarbID: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object dbxMedGamybaKIIrasaikaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object dbxMedGamybaKIIrasaikainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object dbxMedGamybaKIIrasaikainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object dbxMedGamybaKIIrasaiVisoKiekis: TFloatField
      FieldName = 'VisoKiekis'
    end
    object dbxMedGamybaKIIrasaiKiekioSkirtumas: TFloatField
      FieldName = 'KiekioSkirtumas'
    end
    object dbxMedGamybaKIIrasaierror: TWideStringField
      FieldName = 'error'
      Size = 255
    end
    object dbxMedGamybaKIIrasaiMVKodas: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
  end
  object dspMedGamyba: TDataSetProvider
    DataSet = dbxMedGamyba
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 349
    Top = 263
  end
  object tbMedGamyba: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedGamyba'
    Left = 424
    Top = 257
    object tbMedGamybaID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedGamybaOpData: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedGamybaOpLaikas: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object tbMedGamybaSandelys_Is: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object tbMedGamybaSan_Is_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object tbMedGamybaSan_Is_Adresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 200
    end
    object tbMedGamybaOpData_I: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedGamybaOpLaikas_I: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object tbMedGamybaSandelys_I: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object tbMedGamybaSan_I_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object tbMedGamybaSan_I_Adresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 200
    end
    object tbMedGamybaSandelys_Tarp: TIntegerField
      FieldName = 'SANDELYS_TARP'
      Visible = False
    end
    object tbMedGamybaSan_Tarp_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_TARP_PAVADINIMAS'
      ProviderFlags = []
      Visible = False
      Size = 200
    end
    object tbMedGamybaSan_Tarp_Adresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio adresas'
      FieldName = 'SAN_TARP_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 200
    end
    object tbMedGamybaSuma: TCurrencyField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      currency = False
    end
    object tbMedGamybaAtsakingas: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object tbMedGamybaA_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbMedGamybaA_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbMedGamybaVairuotojas: TIntegerField
      FieldName = 'VAIRUOTOJAS'
      Visible = False
    end
    object tbMedGamybaV_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pavard'#279
      DisplayWidth = 15
      FieldName = 'V_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbMedGamybaV_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pareigos'
      DisplayWidth = 15
      FieldName = 'V_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbMedGamybaTr_paeme: TIntegerField
      FieldName = 'TR_PAEME'
      Visible = False
    end
    object tbMedGamybaT_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'T_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbMedGamybaT_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'T_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbMedGamybaTransportas: TWideStringField
      Tag = 1
      DisplayLabel = 'Valst.Nr.'
      FieldName = 'TRANSPORTAS'
      Visible = False
      Size = 6
    end
    object tbMedGamybaMarke: TWideStringField
      Tag = 1
      DisplayLabel = 'Mark'#279
      FieldName = 'MARKE'
      ProviderFlags = []
      Visible = False
    end
    object tbMedGamybaPr_isdave: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object tbMedGamybaI_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbMedGamybaI_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbMedGamybaPr_prieme: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object tbMedGamybaP_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbMedGamybaP_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbMedGamybaBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object tbMedGamybaPatvirtinta: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbMedGamybaTurinys: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Visible = False
      Size = 100
    end
    object tbMedGamybadbxMedGamybaIrasai: TDataSetField
      FieldName = 'DBXMEDGAMYBAIRASAI'
      Visible = False
    end
    object tbMedGamybaDepID: TIntegerField
      FieldName = 'DEPID'
    end
  end
  object dsMedGamyba: TDataSource
    DataSet = tbMedGamyba
    Left = 436
    Top = 269
  end
  object tbMedGamybaIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    DataSetField = tbMedGamybadbxMedGamybaIrasai
    Params = <>
    Left = 507
    Top = 256
    object tbMedGamybaIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedGamybaIrasaiNr: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object tbMedGamybaIrasaiENr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object tbMedGamybaIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object tbMedGamybaIrasaiKiekis: TFloatField
      DisplayLabel = 'Kiekis'
      FieldName = 'KIEKIS'
    end
    object tbMedGamybaIrasaiMID: TIntegerField
      FieldName = 'MID'
      Visible = False
    end
    object tbMedGamybaIrasaiSavikaina: TFMTBCDField
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
    end
    object tbMedGamybaIrasaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      Visible = False
      Size = 3
    end
    object tbMedGamybaIrasaidbxMedGamybaKIsIrasai: TDataSetField
      FieldName = 'DBXMEDGAMYBAKISIRASAI'
      Visible = False
    end
    object tbMedGamybaIrasaidbxMedGamybaKIIrasai: TDataSetField
      FieldName = 'DBXMEDGAMYBAKIIRASAI'
      Visible = False
    end
    object tbMedGamybaIrasaiSum_BazSavikaina: TAggregateField
      FieldName = 'SUM_BAZSAVIKAINA'
      Active = True
      Expression = 'SUM(BazSavikaina)'
    end
    object tbMedGamybaIrasaiMaxNr: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
  end
  object dsMedGamybaIrasai: TDataSource
    DataSet = tbMedGamybaIrasai
    Left = 518
    Top = 268
  end
  object tbMedGamybaKIsIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    DataSetField = tbMedGamybaIrasaidbxMedGamybaKIsIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 594
    Top = 256
    object tbMedGamybaKIsIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedGamybaKIsIrasaiMID: TIntegerField
      FieldName = 'MID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedGamybaKIsIrasaiOperacija: TWideStringField
      DisplayLabel = 'Operacija'
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
      Size = 1
    end
    object tbMedGamybaKIsIrasaiENr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object tbMedGamybaKIsIrasaiNr: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object tbMedGamybaKIsIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
      Required = True
    end
    object tbMedGamybaKIsIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object tbMedGamybaKIsIrasaiKodas: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 10
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object tbMedGamybaKIsIrasaiBKodas: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object tbMedGamybaKIsIrasaiPavadinimas: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object tbMedGamybaKIsIrasaiMatas: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object tbMedGamybaKIsIrasaiGKodas: TWideStringField
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object tbMedGamybaKIsIrasaiEKAKodas: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object tbMedGamybaKIsIrasaiEKAPavadinimas: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object tbMedGamybaKIsIrasaiGrPavadinimas: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      DisplayWidth = 20
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedGamybaKIsIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object tbMedGamybaKIsIrasaiPrPsl: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbMedGamybaKIsIrasaiKiekis: TFloatField
      DisplayLabel = 'Kiekis'
      FieldName = 'KIEKIS'
      Required = True
    end
    object tbMedGamybaKIsIrasaiBazKaina: TBCDField
      DisplayLabel = 'Baz.Kaina'
      DisplayWidth = 8
      FieldKind = fkInternalCalc
      FieldName = 'BAZKAINA'
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object tbMedGamybaKIsIrasaiSavikaina: TFMTBCDField
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      DisplayFormat = '#,##0.0000'
      EditFormat = '0.00'
      Precision = 14
    end
    object tbMedGamybaKIsIrasaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      Size = 3
    end
    object tbMedGamybaKIsIrasaiSerNr: TWideStringField
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object tbMedGamybaKIsIrasaiPKainaG: TFMTBCDField
      DisplayLabel = 'Kaina Gal.'
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIsIrasaiPKainaD1: TFMTBCDField
      DisplayLabel = 'Kaina D1'
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIsIrasaiPKainaD2: TFMTBCDField
      DisplayLabel = 'Kaina D2'
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIsIrasaiPKainaD3: TFMTBCDField
      DisplayLabel = 'Kaina D3'
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIsIrasaiNetto: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object tbMedGamybaKIsIrasaiKNKodas: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object tbMedGamybaKIsIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object tbMedGamybaKIsIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object tbMedGamybaKIsIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIsIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIsIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIsIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedGamybaKIsIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedGamybaKIsIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIsIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIsIrasaidarbID: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object tbMedGamybaKIsIrasaikaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object tbMedGamybaKIsIrasaikainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object tbMedGamybaKIsIrasaikainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object tbMedGamybaKIsIrasaiVisoKiekis: TFloatField
      FieldName = 'VisoKiekis'
    end
    object tbMedGamybaKIsIrasaiKiekioSkirtumas: TFloatField
      FieldName = 'KiekioSkirtumas'
    end
    object tbMedGamybaKIsIrasaierror: TWideStringField
      FieldName = 'error'
      Size = 255
    end
    object tbMedGamybaKIsIrasaiMVKodas: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object tbMedGamybaKIsIrasaiVisoTuris: TFloatField
      DisplayLabel = 'Viso, m'#179
      FieldKind = fkInternalCalc
      FieldName = 'VisoTuris'
      DisplayFormat = '0.0000'
    end
    object tbMedGamybaKIsIrasaiSum_BazSavikaina: TAggregateField
      FieldName = 'SUM_BAZSAVIKAINA'
      Active = True
      Expression = 'SUM(BazSavikaina)'
    end
    object tbMedGamybaKIsIrasaiMaxNr: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
    object tbMedGamybaKIsIrasaiVisoSupjauta: TAggregateField
      FieldName = 'VisoSupjauta'
      Active = True
      Expression = 'SUM(turis*KIEKIS)'
    end
  end
  object dsMedGamybaKIsIrasai: TDataSource
    AutoEdit = False
    DataSet = tbMedGamybaKIsIrasai
    Left = 606
    Top = 269
  end
  object tbMedGamybaKIIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    DataSetField = tbMedGamybaIrasaidbxMedGamybaKIIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 668
    Top = 258
    object tbMedGamybaKIIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      Visible = False
    end
    object tbMedGamybaKIIrasaiMID: TIntegerField
      FieldName = 'MID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      Visible = False
    end
    object tbMedGamybaKIIrasaiOperacija: TWideStringField
      DisplayLabel = 'Operacija'
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      Visible = False
      Size = 1
    end
    object tbMedGamybaKIIrasaiENr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object tbMedGamybaKIIrasaiNr: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedGamybaKIIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
      Required = True
    end
    object tbMedGamybaKIIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object tbMedGamybaKIIrasaiKodas: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 10
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object tbMedGamybaKIIrasaiBKodas: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object tbMedGamybaKIIrasaiPavadinimas: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object tbMedGamybaKIIrasaiMatas: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object tbMedGamybaKIIrasaiGKodas: TWideStringField
      DisplayLabel = 'Gam.Kodas'
      DisplayWidth = 10
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object tbMedGamybaKIIrasaiEKAKodas: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object tbMedGamybaKIIrasaiEKAPavadinimas: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object tbMedGamybaKIIrasaiGrPavadinimas: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      DisplayWidth = 10
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbMedGamybaKIIrasaiPKainaG: TFMTBCDField
      DisplayLabel = 'Kaina Gal.'
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIIrasaiPKainaD1: TFMTBCDField
      DisplayLabel = 'Kaina D1'
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIIrasaiPKainaD2: TFMTBCDField
      DisplayLabel = 'Kaina D2'
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIIrasaiPKainaD3: TFMTBCDField
      DisplayLabel = 'Kaina D3'
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object tbMedGamybaKIIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object tbMedGamybaKIIrasaiKiekis: TFloatField
      DisplayLabel = 'Kiekis, Vnt.'
      FieldName = 'KIEKIS'
      Required = True
    end
    object tbMedGamybaKIIrasaiPrPsl: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbMedGamybaKIIrasaiDalis: TFloatField
      DisplayLabel = 'Dalis'
      FieldName = 'DALIS'
    end
    object tbMedGamybaKIIrasaiSavikaina: TFMTBCDField
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      DisplayFormat = '#,##0.0000'
      EditFormat = '0.00'
      Precision = 14
    end
    object tbMedGamybaKIIrasaiBazKaina2: TBCDField
      DisplayLabel = 'Baz.Kaina'
      DisplayWidth = 8
      FieldKind = fkInternalCalc
      FieldName = 'BAZKAINA'
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object tbMedGamybaKIIrasaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      Visible = False
      Size = 3
    end
    object tbMedGamybaKIIrasaiKaina: TBCDField
      DisplayLabel = 'Savikaina'
      DisplayWidth = 8
      FieldKind = fkInternalCalc
      FieldName = 'SAVIKAINA'
      DisplayFormat = '#,##0.00'
    end
    object tbMedGamybaKIIrasaiSerNr: TWideStringField
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object tbMedGamybaKIIrasaiValKaina: TFMTBCDField
      DisplayLabel = '$ Kaina'
      DisplayWidth = 6
      FieldName = 'VALKAINA'
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbMedGamybaKIIrasaiValiuta: TWideStringField
      DisplayLabel = '$'
      FieldName = 'VALIUTA'
      Visible = False
      Size = 3
    end
    object tbMedGamybaKIIrasaiNetto: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object tbMedGamybaKIIrasaiKNKodas: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object tbMedGamybaKIIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object tbMedGamybaKIIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object tbMedGamybaKIIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedGamybaKIIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedGamybaKIIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedGamybaKIIrasaidarbID: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object tbMedGamybaKIIrasaikaina2: TFMTBCDField
      FieldName = 'kaina'
    end
    object tbMedGamybaKIIrasaikainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object tbMedGamybaKIIrasaikainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object tbMedGamybaKIIrasaiVisoKiekis: TFloatField
      DisplayLabel = 'Viso Kiekis, Vnt'
      FieldName = 'VisoKiekis'
    end
    object tbMedGamybaKIIrasaiKiekioSkirtumas: TFloatField
      FieldName = 'KiekioSkirtumas'
    end
    object tbMedGamybaKIIrasaierror: TWideStringField
      FieldName = 'error'
      Size = 255
    end
    object tbMedGamybaKIIrasaiMVKodas: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object tbMedGamybaKIIrasaiVisoTuris: TFloatField
      DisplayLabel = 'Viso, m'#179
      FieldKind = fkInternalCalc
      FieldName = 'VisoTuris'
      DisplayFormat = '0.0000'
    end
    object tbMedGamybaKIIrasaiMaxNr: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
    object tbMedGamybaKIIrasaiSum_BazSavikaina: TAggregateField
      FieldName = 'SUM_BAZSAVIKAINA'
      Active = True
      Expression = 'SUM(BazSavikaina)'
      Precision = 4
    end
    object tbMedGamybaKIIrasaiSum_Dalis: TAggregateField
      FieldName = 'SUM_DALIS'
      Active = True
      Expression = 'SUM(Dalis)'
    end
    object tbMedGamybaKIIrasaiVisoPagaminta: TAggregateField
      FieldName = 'VisoPagaminta'
      Active = True
      Expression = 'SUM(turis*KIEKIS)'
    end
    object tbMedGamybaKIIrasaiVisoVnt: TAggregateField
      FieldName = 'VisoVnt'
      Active = True
      Expression = 'SUM(KIEKIS)'
    end
  end
  object dsMedGamybaKIIrasai: TDataSource
    AutoEdit = False
    DataSet = tbMedGamybaKIIrasai
    Left = 680
    Top = 270
  end
  object dbxMedParkPartijosS: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      ' MP.Pavarde AS P_Pavarde, MP.Pareigos AS P_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      
        ' ST.Pavadinimas AS San_Tarp_Pavadinimas,  ST.Adresas AS San_Tarp' +
        '_Adresas,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      ', Z.SData AS ZS_Data, Z.SLaikas AS ZS_Laikas'
      ', Z.TData AS ZT_Data, Z.TLaikas AS ZT_Laikas'
      ', ZS.Pavarde AS ZS_Pavarde, ZT.Pavarde AS ZT_Pavarde'
      ',Z.SDarbID'
      ',Z.DOKTIPAS'
      ''
      ',DEP.FID AS DepFID'
      ',FDEP.Kodas AS DepKodas'
      ',FDEP.IKodas AS DepIKodas'
      ',FDEP.PVMKodas AS DepPVMKodas'
      ',FDEP.Pavadinimas AS DepPavadinimas'
      ',DEP.KF AS DepKF'
      ''
      ',(SELECT SUM(PZ.turis*PZ.Kiekis)'
      '  FROM medParkPartijos_komp_irasai PZ'
      '  WHERE (PZ.ID = M.ID)) AS VisoSupjauta'
      ',(SELECT SUM(PP.plotas*PP.Kiekis)'
      '  FROM medParkPajam_irasai PP'
      '  WHERE (PP.partija = M.partija)) AS VisoPagaminta'
      ''
      'FROM medParkPartijos M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN darbuotojai MP ON (MP.ID = M.Pr_prieme)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN darbuotojai ZS ON (ZS.ID = Z.SDarbID)'
      'LEFT OUTER JOIN darbuotojai ZT ON (ZT.ID = Z.TDarbID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'LEFT OUTER JOIN sandeliai ST ON (ST.ID = M.Sandelys_Tarp)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      ''
      'LEFT OUTER JOIN depart DEP ON (DEP.ID = M.DepID)'
      'LEFT OUTER JOIN firmos FDEP ON (FDEP.ID = DEP.FID)'
      ''
      
        'WHERE ((Z.SDarbID IS NULL)  OR ((0) >= :SDarbID) OR (Z.SDarbID =' +
        ' :SDarbID))'
      'AND ('
      ' (M.ID= :ID) OR (Z.PATVIRTINTA <> '#39'+'#39') OR'
      ' ( '
      '          (M.OpData BETWEEN :DataNuo AND :DataIki)'
      ' AND ((M.Sandelys_I = :S_IN) OR ((0) >= :S_IN))'
      ' AND ((M.Sandelys_Is = :S_OU) OR ((0) >= :S_OU))'
      ' AND ((M.DepID = :Depart) OR ((0) >= :Depart))'
      ' )'
      ')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 16
    Top = 364
  end
  object dspMedParkPartijosS: TDataSetProvider
    DataSet = dbxMedParkPartijosS
    Options = []
    Left = 24
    Top = 374
  end
  object tbMedParkPartijosS: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedParkPartijosS'
    Left = 34
    Top = 387
    object IntegerField2: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField1: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField8: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField3: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object StringField9: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField10: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object DateField2: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField11: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField4: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object StringField12: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField13: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object IntegerField5: TIntegerField
      FieldName = 'SANDELYS_TARP'
      Visible = False
    end
    object StringField14: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_TARP_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object StringField15: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio adresas'
      FieldName = 'SAN_TARP_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object CurrencyField2: TCurrencyField
      Tag = 1
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      currency = False
    end
    object IntegerField6: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField16: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField17: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField9: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField24: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField25: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField10: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object StringField26: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField27: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField28: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object StringField29: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField30: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object IntegerField11: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object DateField5: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object TimeField1: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object StringField31: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object DateField8: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object TimeField2: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object StringField32: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object IntegerField12: TIntegerField
      FieldName = 'DEPID'
    end
    object IntegerField22: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object StringField33: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object StringField34: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object StringField35: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object StringField36: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object StringField37: TWideStringField
      DisplayLabel = 'Pad.kodas/funkcija'
      FieldName = 'DEPKF'
      ProviderFlags = []
    end
    object tbMedParkPartijosSstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedParkPartijosSplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedParkPartijosSpartija: TWideStringField
      DisplayLabel = 'Partijos Nr.'
      FieldName = 'partija'
    end
    object tbMedParkPartijosStipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedParkPartijosSVisoSupjauta: TFloatField
      DisplayLabel = 'Viso Supjauta,  m'#179
      FieldName = 'VisoSupjauta'
      DisplayFormat = '0.0000'
    end
    object tbMedParkPartijosSVisoPagaminta: TFloatField
      DisplayLabel = 'Viso Pagaminta, m'#178
      FieldName = 'VisoPagaminta'
      DisplayFormat = '0.0000'
    end
    object tbMedParkPartijosSVisoIseiga: TFloatField
      DisplayLabel = 'Viso I'#353'eiga, %'
      FieldKind = fkInternalCalc
      FieldName = 'VisoIseiga'
      DisplayFormat = '0.00'
    end
    object tbMedParkPartijosSDOKTIPAS: TIntegerField
      FieldName = 'DOKTIPAS'
    end
  end
  object dsMedParkPartijosS: TDataSource
    DataSet = tbMedParkPartijosS
    Left = 40
    Top = 399
  end
  object dbxMedParkPartijos: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      ' MP.Pavarde AS P_Pavarde, MP.Pareigos AS P_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      
        ' ST.Pavadinimas AS San_Tarp_Pavadinimas,  ST.Adresas AS San_Tarp' +
        '_Adresas,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      ''
      ',(SELECT SUM(PZ.turis*PZ.Kiekis)'
      '  FROM medParkPartijos_komp_irasai PZ'
      '  WHERE (PZ.ID = M.ID)) AS VisoSupjauta'
      ',(SELECT SUM(PP.plotas*PP.Kiekis)'
      '  FROM medParkPajam_irasai PP'
      '  WHERE (PP.partija = M.partija)) AS VisoPagaminta'
      ''
      'FROM medParkPartijos M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN darbuotojai MP ON (MP.ID = M.Pr_prieme)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'LEFT OUTER JOIN sandeliai ST ON (ST.ID = M.Sandelys_Tarp)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      'WHERE (M.ID= :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 136
    Top = 360
    object IntegerField24: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField29: TIntegerField
      FieldName = 'ATSAKINGAS'
    end
    object IntegerField32: TIntegerField
      FieldName = 'PR_ISDAVE'
    end
    object IntegerField33: TIntegerField
      FieldName = 'SANDELYS_IS'
    end
    object DateField9: TDateField
      FieldName = 'OPDATA'
    end
    object StringField62: TWideStringField
      FieldName = 'OPLAIKAS'
      FixedChar = True
      Size = 5
    end
    object IntegerField34: TIntegerField
      FieldName = 'SANDELYS_TARP'
    end
    object IntegerField35: TIntegerField
      FieldName = 'PR_PRIEME'
    end
    object IntegerField36: TIntegerField
      FieldName = 'SANDELYS_I'
    end
    object DateField10: TDateField
      FieldName = 'OPDATA_I'
    end
    object StringField63: TWideStringField
      FieldName = 'OPLAIKAS_I'
      FixedChar = True
      Size = 5
    end
    object StringField64: TWideStringField
      FieldName = 'BAZVALIUTA'
      FixedChar = True
      Size = 3
    end
    object StringField65: TWideStringField
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object StringField66: TWideStringField
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object StringField82: TWideStringField
      FieldName = 'I_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object StringField83: TWideStringField
      FieldName = 'I_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object StringField84: TWideStringField
      FieldName = 'P_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object StringField85: TWideStringField
      FieldName = 'P_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object StringField86: TWideStringField
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField87: TWideStringField
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField88: TWideStringField
      FieldName = 'SAN_TARP_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField89: TWideStringField
      FieldName = 'SAN_TARP_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField90: TWideStringField
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField91: TWideStringField
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField92: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object StringField93: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Size = 100
    end
    object IntegerField37: TIntegerField
      FieldName = 'DEPID'
    end
    object dbxMedParkPartijosstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedParkPartijosplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedParkPartijostipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedParkPartijosVisoPagaminta: TFloatField
      FieldName = 'VisoPagaminta'
      ProviderFlags = []
      DisplayFormat = '0.0000'
    end
    object dbxMedParkPartijospartija: TWideStringField
      DisplayLabel = 'Partijos Nr.'
      FieldName = 'partija'
    end
    object dbxMedParkPartijosVisoSupjauta: TFloatField
      DisplayLabel = 'Viso Supjauta'
      FieldName = 'VisoSupjauta'
      DisplayFormat = '0.0000'
    end
  end
  object dsxMedParkPartijos: TDataSource
    DataSet = dbxMedParkPartijos
    Left = 140
    Top = 379
  end
  object dspMedParkPartijos: TDataSetProvider
    DataSet = dbxMedParkPartijos
    Options = []
    UpdateMode = upWhereKeyOnly
    OnGetTableName = dspMedParkPartijosGetTableName
    Left = 277
    Top = 367
  end
  object dbxMedParkPartijosIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedParkPartijos
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GrupesID,'
      ' P.Kodas,'
      ' P.BKodas,'
      ' P.Pavadinimas,'
      ' P.Matas,'
      ' P.GKodas,'
      ' P.EKAKodas,'
      ' P.EKAPavadinimas,'
      ' P.PKainaG,P.PKainaD1,P.PKainaD2,P.PKainaD3,'
      ' P.MVKodas, P.KNKodas, P.Netto,'
      ' PG.Pavadinimas AS GrPavadinimas,'
      ' PG.PVM,'
      ' PG.PrPsl,'
      ' A.BazValiuta'
      'FROM medParkPartijos_komp_irasai M'
      'INNER JOIN medParkPartijos A ON (A.ID = M.ID)'
      'INNER JOIN prekes P ON (M.PrekesID = P.ID)'
      'INNER JOIN prekiu_grupes PG ON (P.GrupesID = PG.ID)'
      'WHERE (M.ID = :ID)'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 207
    Top = 366
    object IntegerField38: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField94: TWideStringField
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      FixedChar = True
      Size = 1
    end
    object IntegerField40: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField41: TIntegerField
      FieldName = 'PREKESID'
    end
    object FloatField17: TFloatField
      FieldName = 'KIEKIS'
    end
    object FMTBCDField5: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object StringField95: TWideStringField
      FieldName = 'SERNR'
    end
    object StringField96: TWideStringField
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object IntegerField42: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object StringField97: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object StringField98: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object StringField99: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object StringField100: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField101: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object StringField102: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField103: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object StringField104: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object FloatField18: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object StringField105: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object FMTBCDField10: TFMTBCDField
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField11: TFMTBCDField
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField12: TFMTBCDField
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField13: TFMTBCDField
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FloatField19: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object StringField106: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object StringField107: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object StringField108: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object FloatField20: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField21: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField22: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField109: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField110: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object FloatField23: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField24: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object IntegerField43: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object FMTBCDField14: TFMTBCDField
      FieldName = 'kaina'
    end
    object FMTBCDField15: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object FMTBCDField16: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object StringField111: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object StringField112: TWideStringField
      FieldName = 'error'
      Size = 255
    end
  end
  object tbMedParkPartijos: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedParkPartijos'
    Left = 352
    Top = 369
    object IntegerField44: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      Visible = False
    end
    object DateField11: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField113: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField45: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object StringField114: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField115: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 200
    end
    object tbMedParkPartijosOPDATA_I: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedParkPartijosOPLAIKAS_I: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object tbMedParkPartijosSANDELYS_I: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object tbMedParkPartijosSAN_I_PAVADINIMAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object tbMedParkPartijosSAN_I_ADRESAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object tbMedParkPartijosSANDELYS_TARP: TIntegerField
      FieldName = 'SANDELYS_TARP'
      Visible = False
    end
    object tbMedParkPartijosSAN_TARP_PAVADINIMAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_TARP_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object tbMedParkPartijosSAN_TARP_ADRESAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio adresas'
      FieldName = 'SAN_TARP_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object CurrencyField3: TCurrencyField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      currency = False
    end
    object IntegerField48: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField121: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object StringField122: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object IntegerField51: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField129: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object StringField130: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object IntegerField52: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object StringField131: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object StringField132: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object StringField133: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object StringField134: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object StringField135: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Visible = False
      Size = 100
    end
    object IntegerField53: TIntegerField
      FieldName = 'DEPID'
    end
    object tbMedParkPartijosstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedParkPartijosplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedParkPartijospartija: TWideStringField
      FieldName = 'partija'
    end
    object tbMedParkPartijostipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedParkPartijosVisoSupjauta: TFloatField
      DisplayLabel = 'Viso Supjauta'
      FieldName = 'VisoSupjauta'
      DisplayFormat = '0.0000'
    end
    object tbMedParkPartijosVisoPagaminta: TFloatField
      FieldName = 'VisoPagaminta'
      ProviderFlags = []
      DisplayFormat = '0.0000'
    end
    object tbMedParkPartijosdbxMedParkPartijosIrasai: TDataSetField
      FieldName = 'dbxMedParkPartijosIrasai'
    end
  end
  object dsMedParkPartijos: TDataSource
    DataSet = tbMedParkPartijos
    Left = 364
    Top = 381
  end
  object tbMedParkPartijosIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    DataSetField = tbMedParkPartijosdbxMedParkPartijosIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 466
    Top = 368
    object IntegerField54: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object StringField136: TWideStringField
      DisplayLabel = 'Operacija'
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
      Size = 1
    end
    object IntegerField56: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object IntegerField57: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object IntegerField58: TIntegerField
      FieldName = 'PREKESID'
      Required = True
    end
    object IntegerField59: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object StringField137: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 10
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object StringField138: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object StringField139: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object StringField140: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField141: TWideStringField
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object StringField142: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField143: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object StringField144: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      DisplayWidth = 20
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object FloatField27: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object StringField145: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object FloatField28: TFloatField
      DisplayLabel = 'Kiekis'
      FieldName = 'KIEKIS'
      Required = True
    end
    object BCDField1: TBCDField
      DisplayLabel = 'Baz.Kaina'
      DisplayWidth = 8
      FieldKind = fkInternalCalc
      FieldName = 'BAZKAINA'
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object FMTBCDField17: TFMTBCDField
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      DisplayFormat = '#,##0.0000'
      EditFormat = '0.00'
      Precision = 14
    end
    object StringField146: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      Size = 3
    end
    object StringField147: TWideStringField
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object FMTBCDField18: TFMTBCDField
      DisplayLabel = 'Kaina Gal.'
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField19: TFMTBCDField
      DisplayLabel = 'Kaina D1'
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField20: TFMTBCDField
      DisplayLabel = 'Kaina D2'
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField21: TFMTBCDField
      DisplayLabel = 'Kaina D3'
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FloatField29: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object StringField148: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object StringField149: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object StringField150: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object FloatField30: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField31: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField32: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField151: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField152: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object FloatField33: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField34: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object IntegerField60: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object FMTBCDField22: TFMTBCDField
      FieldName = 'kaina'
    end
    object FMTBCDField23: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object FMTBCDField24: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object FloatField35: TFloatField
      DisplayLabel = 'Viso Kiekis, m'#179
      FieldKind = fkInternalCalc
      FieldName = 'VisoKiekis'
      DisplayFormat = '0.0000'
    end
    object StringField153: TWideStringField
      FieldName = 'error'
      Size = 255
    end
    object StringField154: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object AggregateField1: TAggregateField
      FieldName = 'SUM_BAZSAVIKAINA'
      Active = True
      Expression = 'SUM(BazSavikaina)'
    end
    object AggregateField2: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
    object AggregateField3: TAggregateField
      FieldName = 'VisoSupjauta'
      Active = True
      Expression = 'SUM(turis*KIEKIS)'
    end
  end
  object dsMedParkPartijosIrasai: TDataSource
    AutoEdit = False
    DataSet = tbMedParkPartijosIrasai
    Left = 478
    Top = 381
  end
  object dbxMedParkNurasymasS: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT M.*,'
      '(select sum(kiekis*turis) from medParkPartNuras_irasai MI'
      '        where MI.ID = M.ID) AS VisoSupjauta,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      ', Z.SData AS ZS_Data, Z.SLaikas AS ZS_Laikas'
      ', Z.TData AS ZT_Data, Z.TLaikas AS ZT_Laikas'
      ', ZS.Pavarde AS ZS_Pavarde, ZT.Pavarde AS ZT_Pavarde'
      ',Z.SDarbID'
      ',Z.DOKTIPAS'
      ''
      ',DEP.FID AS DepFID'
      ',FDEP.Kodas AS DepKodas'
      ',FDEP.IKodas AS DepIKodas'
      ',FDEP.PVMKodas AS DepPVMKodas'
      ',FDEP.Pavadinimas AS DepPavadinimas'
      ',DEP.KF AS DepKF'
      ''
      'FROM medParkPartNuras M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN darbuotojai ZS ON (ZS.ID = Z.SDarbID)'
      'LEFT OUTER JOIN darbuotojai ZT ON (ZT.ID = Z.TDarbID)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      ''
      'LEFT OUTER JOIN depart DEP ON (DEP.ID = M.DepID)'
      'LEFT OUTER JOIN firmos FDEP ON (FDEP.ID = DEP.FID)'
      ''
      
        'WHERE ((Z.SDarbID IS NULL)  OR ((0) >= :SDarbID) OR (Z.SDarbID =' +
        ' :SDarbID))'
      'AND ('
      ' (M.ID= :ID) OR (Z.PATVIRTINTA <> '#39'+'#39') OR'
      ' ('
      '          (M.OpData BETWEEN :DataNuo AND :DataIki)'
      ' AND ((M.Sandelys_Is = :S_OU) OR ((0) >= :S_OU))'
      ' AND ((M.DepID = :Depart) OR ((0) >= :Depart))'
      ' )'
      ')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 16
    Top = 452
  end
  object dspMedParkNurasymasS: TDataSetProvider
    DataSet = dbxMedParkNurasymasS
    Options = []
    Left = 24
    Top = 462
  end
  object tbMedParkNurasymasS: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_OU'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedParkNurasymasS'
    Left = 34
    Top = 475
    object IntegerField7: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField13: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField18: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField8: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object StringField19: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField20: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object CurrencyField4: TCurrencyField
      Tag = 1
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      currency = False
    end
    object IntegerField31: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField68: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField69: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField39: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField80: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField81: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField125: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object StringField126: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField127: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object IntegerField50: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object DateField15: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object TimeField3: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object StringField128: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object DateField16: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object TimeField4: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object StringField155: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object IntegerField55: TIntegerField
      FieldName = 'DEPID'
    end
    object IntegerField61: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object StringField156: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object StringField157: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object StringField158: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object StringField159: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object StringField160: TWideStringField
      DisplayLabel = 'Pad.kodas/funkcija'
      FieldName = 'DEPKF'
      ProviderFlags = []
    end
    object FloatField14: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField15: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField161: TWideStringField
      DisplayLabel = 'Partijos Nr.'
      FieldName = 'partija'
    end
    object IntegerField62: TIntegerField
      FieldName = 'DOKTIPAS'
    end
    object tbMedParkNurasymasSVisoSupjauta: TFloatField
      DisplayLabel = 'Viso Supjauta, m'#179
      FieldName = 'VisoSupjauta'
      DisplayFormat = '0.0000'
    end
  end
  object dsMedParkNurasymasS: TDataSource
    DataSet = tbMedParkNurasymasS
    Left = 40
    Top = 487
  end
  object dbxMedParkNurasymas: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    SQL.Strings = (
      'SELECT M.*,'
      '(SELECT SUM(PZ.turis*PZ.Kiekis)'
      '  FROM medParkPartNuras_irasai PZ'
      '  WHERE (PZ.ID = M.ID)) AS VisoSupjauta,'
      ''
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      'FROM medParkPartNuras M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      'WHERE (M.ID= :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 144
    Top = 456
    object IntegerField63: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField64: TIntegerField
      FieldName = 'ATSAKINGAS'
    end
    object IntegerField65: TIntegerField
      FieldName = 'PR_ISDAVE'
    end
    object IntegerField66: TIntegerField
      FieldName = 'SANDELYS_IS'
    end
    object DateField17: TDateField
      FieldName = 'OPDATA'
    end
    object StringField162: TWideStringField
      FieldName = 'OPLAIKAS'
      FixedChar = True
      Size = 5
    end
    object StringField164: TWideStringField
      FieldName = 'BAZVALIUTA'
      FixedChar = True
      Size = 3
    end
    object StringField165: TWideStringField
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object StringField166: TWideStringField
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object StringField175: TWideStringField
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField176: TWideStringField
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField177: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object StringField178: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Size = 100
    end
    object IntegerField70: TIntegerField
      FieldName = 'DEPID'
    end
    object FloatField16: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField37: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedParkNurasymasI_PAVARDE: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object dbxMedParkNurasymasI_PAREIGOS: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object StringField179: TWideStringField
      DisplayLabel = 'Partijos Nr.'
      FieldName = 'partija'
    end
    object dbxMedParkNurasymasVisoSupjauta: TFloatField
      FieldName = 'VisoSupjauta'
    end
  end
  object dsxMedParkNurasymas: TDataSource
    DataSet = dbxMedParkNurasymas
    Left = 148
    Top = 475
  end
  object dspMedParkNurasymas: TDataSetProvider
    DataSet = dbxMedParkNurasymas
    Options = []
    UpdateMode = upWhereKeyOnly
    OnGetTableName = dspMedParkNurasymasGetTableName
    Left = 317
    Top = 455
  end
  object dbxMedParkNurasymasIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedParkNurasymas
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GrupesID,'
      ' P.Kodas,'
      ' P.BKodas,'
      ' P.Pavadinimas,'
      ' P.Matas,'
      ' P.GKodas,'
      ' P.EKAKodas,'
      ' P.EKAPavadinimas,'
      ' P.PKainaG,P.PKainaD1,P.PKainaD2,P.PKainaD3,'
      ' P.MVKodas, P.KNKodas, P.Netto,'
      ' PG.Pavadinimas AS GrPavadinimas,'
      ' PG.PVM,'
      ' PG.PrPsl,'
      ' A.BazValiuta'
      'FROM medParkPartNuras_irasai M'
      'INNER JOIN medParkPartNuras A ON (A.ID = M.ID)'
      'INNER JOIN prekes P ON (M.PrekesID = P.ID)'
      'INNER JOIN prekiu_grupes PG ON (P.GrupesID = PG.ID)'
      'WHERE (M.ID = :ID)'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 247
    Top = 454
    object IntegerField71: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField180: TWideStringField
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      FixedChar = True
      Size = 1
    end
    object IntegerField72: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField73: TIntegerField
      FieldName = 'PREKESID'
    end
    object FloatField38: TFloatField
      FieldName = 'KIEKIS'
    end
    object FMTBCDField4: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object StringField181: TWideStringField
      FieldName = 'SERNR'
    end
    object StringField182: TWideStringField
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object IntegerField74: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object StringField183: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object StringField184: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object StringField185: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object StringField186: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField187: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object StringField188: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField189: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object StringField190: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object FloatField39: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object StringField191: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object FMTBCDField25: TFMTBCDField
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField26: TFMTBCDField
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField27: TFMTBCDField
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField28: TFMTBCDField
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FloatField40: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object StringField192: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object StringField193: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object StringField194: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object FloatField41: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField42: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField43: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField195: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField196: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object FloatField44: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField45: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object IntegerField75: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object FMTBCDField29: TFMTBCDField
      FieldName = 'kaina'
    end
    object FMTBCDField30: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object FMTBCDField31: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object StringField197: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
  end
  object tbMedParkNurasymas: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedParkNurasymas'
    Left = 416
    Top = 457
    object IntegerField76: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField19: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField199: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField77: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object StringField200: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField201: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 200
    end
    object CurrencyField5: TCurrencyField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      currency = False
    end
    object IntegerField80: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField207: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object StringField208: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object IntegerField81: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField209: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object StringField210: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object StringField213: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object StringField214: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object StringField215: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Visible = False
      Size = 100
    end
    object IntegerField83: TIntegerField
      FieldName = 'DEPID'
    end
    object FloatField48: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField49: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField216: TWideStringField
      FieldName = 'partija'
    end
    object tbMedParkNurasymasVisoSupjauta: TFloatField
      FieldName = 'VisoSupjauta'
    end
    object tbMedParkNurasymasdbxMedParkNurasymasIrasai: TDataSetField
      FieldName = 'dbxMedParkNurasymasIrasai'
    end
  end
  object dsMedParkNurasymas: TDataSource
    DataSet = tbMedParkNurasymas
    Left = 428
    Top = 469
  end
  object tbMedParkNurasymasIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    DataSetField = tbMedParkNurasymasdbxMedParkNurasymasIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 530
    Top = 456
    object IntegerField84: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object StringField217: TWideStringField
      DisplayLabel = 'Operacija'
      FieldName = 'OPERACIJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
      Size = 1
    end
    object IntegerField85: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object IntegerField86: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object IntegerField87: TIntegerField
      FieldName = 'PREKESID'
      Required = True
    end
    object IntegerField88: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object StringField218: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 10
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object StringField219: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object StringField220: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object StringField221: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField222: TWideStringField
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object StringField223: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField224: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object StringField225: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      DisplayWidth = 20
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object FloatField50: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object StringField226: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object FloatField51: TFloatField
      DisplayLabel = 'Kiekis'
      FieldName = 'KIEKIS'
      Required = True
    end
    object BCDField2: TBCDField
      DisplayLabel = 'Baz.Kaina'
      DisplayWidth = 8
      FieldKind = fkInternalCalc
      FieldName = 'BAZKAINA'
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object FMTBCDField32: TFMTBCDField
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      DisplayFormat = '#,##0.0000'
      EditFormat = '0.00'
      Precision = 14
    end
    object StringField227: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      Size = 3
    end
    object StringField228: TWideStringField
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object FMTBCDField33: TFMTBCDField
      DisplayLabel = 'Kaina Gal.'
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField34: TFMTBCDField
      DisplayLabel = 'Kaina D1'
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField35: TFMTBCDField
      DisplayLabel = 'Kaina D2'
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField36: TFMTBCDField
      DisplayLabel = 'Kaina D3'
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FloatField52: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object StringField229: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object StringField230: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object StringField231: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object FloatField53: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField54: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField55: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField232: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField233: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object FloatField56: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField57: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object IntegerField89: TIntegerField
      DisplayLabel = 'Darbuotojas'
      FieldName = 'darbID'
    end
    object FMTBCDField37: TFMTBCDField
      FieldName = 'kaina'
    end
    object FMTBCDField38: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object FMTBCDField39: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object FloatField58: TFloatField
      DisplayLabel = 'Viso Kiekis, m'#179
      FieldKind = fkInternalCalc
      FieldName = 'VisoKiekis'
      DisplayFormat = '0.0000'
    end
    object StringField235: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object AggregateField4: TAggregateField
      FieldName = 'SUM_BAZSAVIKAINA'
      Active = True
      Expression = 'SUM(BazSavikaina)'
    end
    object AggregateField5: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
    object AggregateField6: TAggregateField
      FieldName = 'VisoSupjauta'
      Active = True
      Expression = 'SUM(turis*KIEKIS)'
    end
  end
  object dsMedParkNurasymasIrasai: TDataSource
    AutoEdit = False
    DataSet = tbMedParkNurasymasIrasai
    Left = 542
    Top = 469
  end
  object dbxPartijosLookup: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      ' MP.Pavarde AS P_Pavarde, MP.Pareigos AS P_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      
        ' ST.Pavadinimas AS San_Tarp_Pavadinimas,  ST.Adresas AS San_Tarp' +
        '_Adresas,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      ', Z.SData AS ZS_Data, Z.SLaikas AS ZS_Laikas'
      ', Z.TData AS ZT_Data, Z.TLaikas AS ZT_Laikas'
      ', ZS.Pavarde AS ZS_Pavarde, ZT.Pavarde AS ZT_Pavarde'
      ',Z.SDarbID'
      ',Z.DOKTIPAS'
      ''
      ',DEP.FID AS DepFID'
      ',FDEP.Kodas AS DepKodas'
      ',FDEP.IKodas AS DepIKodas'
      ',FDEP.PVMKodas AS DepPVMKodas'
      ',FDEP.Pavadinimas AS DepPavadinimas'
      ',DEP.KF AS DepKF'
      ''
      'FROM medParkPartijos M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN darbuotojai MP ON (MP.ID = M.Pr_prieme)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN darbuotojai ZS ON (ZS.ID = Z.SDarbID)'
      'LEFT OUTER JOIN darbuotojai ZT ON (ZT.ID = Z.TDarbID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'LEFT OUTER JOIN sandeliai ST ON (ST.ID = M.Sandelys_Tarp)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      ''
      'LEFT OUTER JOIN depart DEP ON (DEP.ID = M.DepID)'
      'LEFT OUTER JOIN firmos FDEP ON (FDEP.ID = DEP.FID)'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 592
    Top = 356
  end
  object dspPartijosLookup: TDataSetProvider
    DataSet = dbxPartijosLookup
    Options = []
    Left = 600
    Top = 366
  end
  object tbPartijosLookup: TGamaClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspPartijosLookup'
    Left = 610
    Top = 379
    object IntegerField90: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField21: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField236: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField91: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object StringField237: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField238: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object DateField22: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField239: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField92: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object StringField240: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField241: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object IntegerField93: TIntegerField
      FieldName = 'SANDELYS_TARP'
      Visible = False
    end
    object StringField242: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_TARP_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object StringField243: TWideStringField
      Tag = 1
      DisplayLabel = 'Tarpinio sand'#279'lio adresas'
      FieldName = 'SAN_TARP_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object CurrencyField6: TCurrencyField
      Tag = 1
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      Visible = False
      DisplayFormat = '#,##0.00'
      currency = False
    end
    object IntegerField94: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField244: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField245: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField95: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField246: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField247: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField96: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object StringField248: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField249: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField250: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Visible = False
      Size = 3
    end
    object StringField251: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField252: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object IntegerField97: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object DateField23: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object TimeField5: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object StringField253: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object DateField24: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object TimeField6: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object StringField254: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object IntegerField98: TIntegerField
      FieldName = 'DEPID'
    end
    object IntegerField99: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object StringField255: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object StringField256: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object StringField257: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object StringField258: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object StringField259: TWideStringField
      DisplayLabel = 'Pad.kodas/funkcija'
      FieldName = 'DEPKF'
      ProviderFlags = []
    end
    object tbPartijosLookupstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPartijosLookupplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPartijosLookuppartija: TWideStringField
      DisplayLabel = 'Partijos Nr.'
      FieldName = 'partija'
    end
    object tbPartijosLookuptipas: TWideStringField
      FieldName = 'tipas'
      Size = 1
    end
  end
  object dsPartijosLookup: TDataSource
    DataSet = tbPartijosLookup
    Left = 616
    Top = 391
  end
  object dbxMedPNr: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftFloat
        Name = 'Storis'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftFloat
        Name = 'Plotis'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftString
        Name = 'Pozymis'
        ParamType = ptInput
        Value = 'x'
      end>
    SQL.Strings = (
      'SELECT *'
      'FROM medPNr'
      
        'WHERE (storis = :Storis) AND (plotis = :Plotis) AND (pozymis = :' +
        'Pozymis)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 256
    Top = 65535
    object StringField261: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object FloatField60: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField61: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField263: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField264: TWideStringField
      DisplayLabel = 'Po'#382'ymis'
      FieldName = 'pozymis'
      Size = 1
    end
  end
  object dspMedPNr: TDataSetProvider
    DataSet = dbxMedPNr
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 264
    Top = 5
  end
  object tbMedPNr: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftFloat
        Name = 'Storis'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftFloat
        Name = 'Plotis'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftString
        Name = 'Pozymis'
        ParamType = ptInput
        Value = 'x'
      end>
    ProviderName = 'dspMedPNr'
    Left = 270
    Top = 10
    object tbMedPNrPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedPNrstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedPNrplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedPNrrusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedPNrpozymis: TWideStringField
      DisplayLabel = 'Po'#382'ymis'
      FieldName = 'pozymis'
      Size = 1
    end
  end
  object dsMedPNr: TDataSource
    AutoEdit = False
    DataSet = tbMedPNr
    Left = 280
    Top = 21
  end
  object dsMedParkPajamIrasai: TDataSource
    AutoEdit = False
    DataSet = tbMedParkPajamIrasai
    Left = 542
    Top = 565
  end
  object tbMedParkPajamIrasai: TGamaClientDataSet
    Aggregates = <
      item
        Active = True
        AggregateName = 'VisoPPlotas'
        Expression = 'SUM(VisoPlotas)'
        Visible = False
      end>
    AggregatesActive = True
    DataSetField = tbMedParkPajamdbxMedParkPajamIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 530
    Top = 552
    object IntegerField106: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object IntegerField107: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object IntegerField108: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object IntegerField109: TIntegerField
      FieldName = 'PREKESID'
      Required = True
    end
    object IntegerField110: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object StringField271: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 10
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object StringField272: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object StringField273: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object StringField274: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField275: TWideStringField
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object StringField276: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField277: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object StringField278: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      DisplayWidth = 20
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object FloatField70: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object StringField279: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object FloatField71: TFloatField
      DisplayLabel = 'Kiekis'
      FieldName = 'KIEKIS'
      Required = True
    end
    object StringField281: TWideStringField
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object FMTBCDField47: TFMTBCDField
      DisplayLabel = 'Kaina Gal.'
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField48: TFMTBCDField
      DisplayLabel = 'Kaina D1'
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField49: TFMTBCDField
      DisplayLabel = 'Kaina D2'
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField50: TFMTBCDField
      DisplayLabel = 'Kaina D3'
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FloatField72: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object StringField282: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object StringField283: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object StringField284: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object FloatField73: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField74: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField75: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField285: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField286: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object FloatField76: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField77: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField287: TWideStringField
      FieldName = 'error'
      Size = 255
    end
    object StringField288: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object tbMedParkPajamIrasaiVisoPlotas: TFloatField
      FieldKind = fkInternalCalc
      FieldName = 'VisoPlotas'
      DisplayFormat = '0.0000'
    end
    object tbMedParkPajamIrasaiVisoTuris: TFloatField
      FieldKind = fkInternalCalc
      FieldName = 'VisoTuris'
      DisplayFormat = '0.0000'
    end
    object tbMedParkPajamIrasaipartija: TWideStringField
      DisplayLabel = 'Partijos Nr.'
      FieldName = 'partija'
    end
    object tbMedParkPajamIrasaiatspausdinta: TWideStringField
      FieldName = 'atspausdinta'
      Size = 1
    end
    object AggregateField11: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
  end
  object dsMedParkPajam: TDataSource
    DataSet = tbMedParkPajam
    Left = 428
    Top = 565
  end
  object tbMedParkPajam: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedParkPajam'
    Left = 416
    Top = 553
    object tbMedParkPajamID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedParkPajamATSAKINGAS: TIntegerField
      FieldName = 'ATSAKINGAS'
    end
    object tbMedParkPajamOPDATA: TDateField
      FieldName = 'OPDATA'
    end
    object tbMedParkPajamOPLAIKAS: TWideStringField
      FieldName = 'OPLAIKAS'
      FixedChar = True
      Size = 5
    end
    object tbMedParkPajamSANDELYS_I: TIntegerField
      FieldName = 'SANDELYS_I'
    end
    object tbMedParkPajamA_PAVARDE: TWideStringField
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object tbMedParkPajamA_PAREIGOS: TWideStringField
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object tbMedParkPajamSAN_I_PAVADINIMAS: TWideStringField
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object tbMedParkPajamSAN_I_ADRESAS: TWideStringField
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object tbMedParkPajamPATVIRTINTA: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbMedParkPajamTURINYS: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Size = 100
    end
    object tbMedParkPajamDEPID: TIntegerField
      FieldName = 'DEPID'
    end
    object tbMedParkPajamdbxMedParkPajamIrasai: TDataSetField
      FieldName = 'dbxMedParkPajamIrasai'
    end
  end
  object dbxMedParkPajamIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedParkPajam
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GrupesID,'
      ' P.Kodas,'
      ' P.BKodas,'
      ' P.Pavadinimas,'
      ' P.Matas,'
      ' P.GKodas,'
      ' P.EKAKodas,'
      ' P.EKAPavadinimas,'
      ' P.PKainaG,P.PKainaD1,P.PKainaD2,P.PKainaD3,'
      ' P.MVKodas, P.KNKodas, P.Netto,'
      ' PG.Pavadinimas AS GrPavadinimas,'
      ' PG.PVM,'
      ' PG.PrPsl'
      'FROM medParkPajam_irasai M'
      'INNER JOIN medParkPajam A ON (A.ID = M.ID)'
      'INNER JOIN prekes P ON (M.PrekesID = P.ID)'
      'INNER JOIN prekiu_grupes PG ON (P.GrupesID = PG.ID)'
      'WHERE (M.ID = :ID)'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 231
    Top = 558
    object IntegerField120: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField121: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField122: TIntegerField
      FieldName = 'PREKESID'
    end
    object FloatField82: TFloatField
      FieldName = 'KIEKIS'
    end
    object StringField308: TWideStringField
      FieldName = 'SERNR'
    end
    object IntegerField123: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object StringField310: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object StringField311: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object StringField312: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object StringField313: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField314: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object StringField315: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField316: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object StringField317: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object FloatField83: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object StringField318: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object FMTBCDField55: TFMTBCDField
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField56: TFMTBCDField
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField57: TFMTBCDField
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField58: TFMTBCDField
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FloatField84: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object StringField319: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object StringField320: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object StringField321: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object FloatField85: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField86: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField87: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField322: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField323: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object FloatField88: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField89: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField324: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object StringField325: TWideStringField
      FieldName = 'error'
      Size = 255
    end
    object dbxMedParkPajamIrasaipartija: TWideStringField
      DisplayLabel = 'Partijos Nr.'
      FieldName = 'partija'
    end
    object dbxMedParkPajamIrasaiatspausdinta: TWideStringField
      FieldName = 'atspausdinta'
      Size = 1
    end
  end
  object dspMedParkPajam: TDataSetProvider
    DataSet = dbxMedParkPajam
    Options = []
    UpdateMode = upWhereKeyOnly
    OnGetTableName = dspMedParkPajamGetTableName
    Left = 325
    Top = 559
  end
  object dsxMedParkPajam: TDataSource
    DataSet = dbxMedParkPajam
    Left = 148
    Top = 571
  end
  object dbxMedParkPajam: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      ' Z.Patvirtinta, Z.Turinys'
      'FROM medParkPajam M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'WHERE (M.ID= :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 144
    Top = 552
    object IntegerField125: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object IntegerField126: TIntegerField
      FieldName = 'ATSAKINGAS'
    end
    object DateField27: TDateField
      FieldName = 'OPDATA'
    end
    object StringField326: TWideStringField
      FieldName = 'OPLAIKAS'
      FixedChar = True
      Size = 5
    end
    object IntegerField131: TIntegerField
      FieldName = 'SANDELYS_I'
    end
    object StringField329: TWideStringField
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object StringField330: TWideStringField
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Size = 30
    end
    object StringField335: TWideStringField
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField336: TWideStringField
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = []
      Size = 200
    end
    object StringField341: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object StringField342: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Size = 100
    end
    object IntegerField132: TIntegerField
      FieldName = 'DEPID'
    end
  end
  object dsMedParkPajamS: TDataSource
    DataSet = tbMedParkPajamS
    Left = 40
    Top = 583
  end
  object tbMedParkPajamS: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedParkPajamS'
    Left = 34
    Top = 571
    object IntegerField133: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField29: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField344: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object tbMedParkPajamSSANDELYS_I: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object StringField348: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField349: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object IntegerField137: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField352: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField353: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField359: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField360: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object IntegerField140: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object DateField31: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object TimeField7: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object StringField361: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object DateField32: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object TimeField8: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object StringField362: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object IntegerField141: TIntegerField
      FieldName = 'DEPID'
    end
    object IntegerField142: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object StringField363: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object StringField364: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object StringField365: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object StringField366: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object StringField367: TWideStringField
      DisplayLabel = 'Pad.kodas/funkcija'
      FieldName = 'DEPKF'
      ProviderFlags = []
    end
    object tbMedParkPajamSVisoM2: TFloatField
      DisplayLabel = 'Viso, m'#178
      FieldName = 'VisoM2'
      DisplayFormat = '0.0000'
    end
    object tbMedParkPajamSVisoM: TFloatField
      DisplayLabel = 'Viso, m'#39
      FieldName = 'VisoM'
      DisplayFormat = '0.0000'
    end
    object tbMedParkPajamSVisoM3: TFloatField
      DisplayLabel = 'Viso, m'#179
      FieldName = 'VisoM3'
      DisplayFormat = '0.0000'
    end
  end
  object dspMedParkPajamS: TDataSetProvider
    DataSet = dbxMedParkPajamS
    Options = []
    Left = 24
    Top = 558
  end
  object dbxMedParkPajamS: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'Depart'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      ' Z.Patvirtinta, Z.Turinys'
      ', Z.SData AS ZS_Data, Z.SLaikas AS ZS_Laikas'
      ', Z.TData AS ZT_Data, Z.TLaikas AS ZT_Laikas'
      ', ZS.Pavarde AS ZS_Pavarde, ZT.Pavarde AS ZT_Pavarde'
      ',Z.SDarbID'
      ',Z.DOKTIPAS'
      ''
      ',(SELECT SUM(PI.plotas*PI.Kiekis)'
      '  FROM medParkPajam_irasai PI'
      '  WHERE (PI.ID = M.ID) AND (PI.tipas = '#39'P'#39')) AS VisoM2'
      ',(SELECT SUM(PI.plotas*PI.Kiekis)'
      '  FROM medParkPajam_irasai PI'
      '  WHERE (PI.ID = M.ID) AND (PI.tipas = '#39'G'#39')) AS VisoM'
      ',(SELECT SUM(PI.turis*PI.Kiekis)'
      '  FROM medParkPajam_irasai PI'
      '  WHERE (PI.ID = M.ID)) AS VisoM3'
      ''
      ',DEP.FID AS DepFID'
      ',FDEP.Kodas AS DepKodas'
      ',FDEP.IKodas AS DepIKodas'
      ',FDEP.PVMKodas AS DepPVMKodas'
      ',FDEP.Pavadinimas AS DepPavadinimas'
      ',DEP.KF AS DepKF'
      ''
      'FROM medParkPajam M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN darbuotojai ZS ON (ZS.ID = Z.SDarbID)'
      'LEFT OUTER JOIN darbuotojai ZT ON (ZT.ID = Z.TDarbID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      ''
      'LEFT OUTER JOIN depart DEP ON (DEP.ID = M.DepID)'
      'LEFT OUTER JOIN firmos FDEP ON (FDEP.ID = DEP.FID)'
      ''
      
        'WHERE ((Z.SDarbID IS NULL)  OR ((0) >= :SDarbID) OR (Z.SDarbID =' +
        ' :SDarbID))'
      'AND ('
      ' (M.ID= :ID) OR (Z.PATVIRTINTA <> '#39'+'#39') OR'
      ' ('
      '          (M.OpData BETWEEN :DataNuo AND :DataIki)'
      ' AND ((M.Sandelys_I = :S_IN) OR ((0) >= :S_IN))'
      ' AND ((M.DepID = :Depart) OR ((0) >= :Depart))'
      ' )'
      ')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 16
    Top = 548
  end
  object dbxMedUzsakymaiS: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'DokTipas'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'S_OU'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'S_OU'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      ' MP.Pavarde AS P_Pavarde, MP.Pareigos AS P_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      ''
      ',KLI.Kodas AS KliKodas'
      ',KLI.IKodas AS KliIKodas'
      ',KLI.PVMKodas AS KliPVMKodas'
      ',KLI.Pavadinimas AS KliPavadinimas'
      ''
      ', Z.SData AS ZS_Data, Z.SLaikas AS ZS_Laikas'
      ', Z.TData AS ZT_Data, Z.TLaikas AS ZT_Laikas'
      ', ZS.Pavarde AS ZS_Pavarde, ZT.Pavarde AS ZT_Pavarde'
      ',Z.SDarbID'
      ',Z.DOKTIPAS'
      ''
      'FROM medUzsakymai M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN darbuotojai MP ON (MP.ID = M.Pr_prieme)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN darbuotojai ZS ON (ZS.ID = Z.SDarbID)'
      'LEFT OUTER JOIN darbuotojai ZT ON (ZT.ID = Z.TDarbID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      'LEFT OUTER JOIN firmos KLI ON (KLI.ID = M.Klientas)'
      ''
      
        'WHERE ((Z.SDarbID IS NULL)  OR ((0) >= :SDarbID) OR (Z.SDarbID =' +
        ' :SDarbID))'
      'AND (Z.DOKTIPAS = :DokTipas)'
      'AND ('
      ' (M.ID= :ID) OR (Z.PATVIRTINTA <> '#39'+'#39') OR'
      ' ( '
      '          (M.OpData BETWEEN :DataNuo AND :DataIki)'
      ' AND ((M.Sandelys_I = :S_IN) OR ((0) >= :S_IN))'
      ' AND ((M.Sandelys_Is = :S_OU) OR ((0) >= :S_OU))'
      ' )'
      ')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 16
    Top = 644
  end
  object dspMedUzsakymaiS: TDataSetProvider
    DataSet = dbxMedUzsakymaiS
    Options = []
    Left = 24
    Top = 654
  end
  object tbMedUzsakymaiS: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDarbID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'DokTipas'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DataNuo'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DataIki'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'S_IN'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftUnknown
        Name = 'S_OU'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'S_OU'
        ParamType = ptInput
      end>
    ProviderName = 'dspMedUzsakymaiS'
    Left = 34
    Top = 667
    object IntegerField100: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField25: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField260: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField101: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object StringField262: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField265: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object DateField26: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField266: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object IntegerField102: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object StringField267: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object StringField268: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object IntegerField104: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField280: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField289: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField112: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField296: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField297: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField113: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object StringField298: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField299: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField301: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField302: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object IntegerField114: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object DateField28: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object TimeField9: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object StringField303: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object DateField30: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object TimeField10: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object StringField304: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object tbMedUzsakymaiSKlientas: TIntegerField
      FieldName = 'Klientas'
    end
    object tbMedUzsakymaiSKLIENTO_IKODAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#303'm.kodas'
      DisplayWidth = 7
      FieldName = 'KliIKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbMedUzsakymaiSKLIENTO_KODAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo kodas'
      FieldName = 'KliKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 10
    end
    object tbMedUzsakymaiSKLIENTO_PVMKODAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo PVM kodas'
      DisplayWidth = 10
      FieldName = 'KliPVMKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbMedUzsakymaiSKLIENTO_PAVADINIMAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo pavadinimas'
      DisplayWidth = 20
      FieldName = 'KliPavadinimas'
      ProviderFlags = [pfInWhere]
      Size = 120
    end
    object tbMedUzsakymaiSNuvert: TWideStringField
      FieldName = 'Nuvert'
      Size = 1
    end
    object tbMedUzsakymaiSSu_ipjov: TWideStringField
      FieldName = 'Su_ipjov'
      Size = 1
    end
    object tbMedUzsakymaiSCapuota: TWideStringField
      FieldName = 'Capuota'
      Size = 1
    end
    object tbMedUzsakymaiSSlifuota: TWideStringField
      FieldName = 'Slifuota'
      Size = 1
    end
    object tbMedUzsakymaiSGlaistyta: TWideStringField
      FieldName = 'Glaistyta'
      Size = 1
    end
    object tbMedUzsakymaiSPakuota: TWideStringField
      FieldName = 'Pakuota'
      Size = 1
    end
  end
  object dsMedUzsakymaiS: TDataSource
    DataSet = tbMedUzsakymaiS
    Left = 40
    Top = 679
  end
  object dbxMedUzsakymai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' MA.Pavarde AS A_Pavarde, MA.Pareigos AS A_Pareigos,'
      ' MI.Pavarde AS I_Pavarde, MI.Pareigos AS I_Pareigos,'
      ' MP.Pavarde AS P_Pavarde, MP.Pareigos AS P_Pareigos,'
      
        ' SI.Pavadinimas AS San_I_Pavadinimas,  SI.Adresas AS San_I_Adres' +
        'as,'
      
        ' SS.Pavadinimas AS San_Is_Pavadinimas,  SS.Adresas AS San_Is_Adr' +
        'esas,'
      ' Z.Patvirtinta, Z.Turinys'
      ''
      ',KLI.Kodas AS KliKodas'
      ',KLI.IKodas AS KliIKodas'
      ',KLI.PVMKodas AS KliPVMKodas'
      ',KLI.Pavadinimas AS KliPavadinimas'
      ''
      ', Z.SData AS ZS_Data, Z.SLaikas AS ZS_Laikas'
      ', Z.TData AS ZT_Data, Z.TLaikas AS ZT_Laikas'
      ', ZS.Pavarde AS ZS_Pavarde, ZT.Pavarde AS ZT_Pavarde'
      ',Z.SDarbID'
      ',Z.DOKTIPAS'
      ''
      'FROM medUzsakymai M'
      'LEFT OUTER JOIN darbuotojai MA ON (MA.ID = M.Atsakingas)'
      'LEFT OUTER JOIN darbuotojai MI ON (MI.ID = M.Pr_isdave)'
      'LEFT OUTER JOIN darbuotojai MP ON (MP.ID = M.Pr_prieme)'
      'LEFT OUTER JOIN zurnalai Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN darbuotojai ZS ON (ZS.ID = Z.SDarbID)'
      'LEFT OUTER JOIN darbuotojai ZT ON (ZT.ID = Z.TDarbID)'
      'LEFT OUTER JOIN sandeliai SI ON (SI.ID = M.Sandelys_I)'
      'LEFT OUTER JOIN sandeliai SS ON (SS.ID = M.Sandelys_Is)'
      'LEFT OUTER JOIN firmos KLI ON (KLI.ID = M.Klientas)'
      'WHERE (M.ID= :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 112
    Top = 648
    object dbxMedUzsakymaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object dbxMedUzsakymaiOPDATA: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object dbxMedUzsakymaiOPLAIKAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object dbxMedUzsakymaiSANDELYS_IS: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object dbxMedUzsakymaiSAN_IS_PAVADINIMAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object dbxMedUzsakymaiSAN_IS_ADRESAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object dbxMedUzsakymaiOPDATA_I: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object dbxMedUzsakymaiOPLAIKAS_I: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object dbxMedUzsakymaiSANDELYS_I: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object dbxMedUzsakymaiSAN_I_PAVADINIMAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object dbxMedUzsakymaiSAN_I_ADRESAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object dbxMedUzsakymaiATSAKINGAS: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object dbxMedUzsakymaiA_PAVARDE: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object dbxMedUzsakymaiA_PAREIGOS: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object dbxMedUzsakymaiPR_ISDAVE: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object dbxMedUzsakymaiI_PAVARDE: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object dbxMedUzsakymaiI_PAREIGOS: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object dbxMedUzsakymaiPR_PRIEME: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object dbxMedUzsakymaiP_PAVARDE: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object dbxMedUzsakymaiP_PAREIGOS: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object dbxMedUzsakymaiPATVIRTINTA: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object dbxMedUzsakymaiTURINYS: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object dbxMedUzsakymaiSDARBID: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object dbxMedUzsakymaiZS_DATA: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object dbxMedUzsakymaiZS_LAIKAS: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object dbxMedUzsakymaiZS_PAVARDE: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object dbxMedUzsakymaiZT_DATA: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object dbxMedUzsakymaiZT_LAIKAS: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object dbxMedUzsakymaiZT_PAVARDE: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object dbxMedUzsakymaiKlientas: TIntegerField
      FieldName = 'Klientas'
    end
    object dbxMedUzsakymaiKliIKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#303'm.kodas'
      DisplayWidth = 7
      FieldName = 'KliIKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object dbxMedUzsakymaiKliKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo kodas'
      FieldName = 'KliKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 10
    end
    object dbxMedUzsakymaiKliPVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo PVM kodas'
      DisplayWidth = 10
      FieldName = 'KliPVMKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object dbxMedUzsakymaiKliPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo pavadinimas'
      DisplayWidth = 20
      FieldName = 'KliPavadinimas'
      ProviderFlags = [pfInWhere]
      Size = 120
    end
    object dbxMedUzsakymaiNuvert: TWideStringField
      FieldName = 'Nuvert'
      Size = 1
    end
    object dbxMedUzsakymaiSu_ipjov: TWideStringField
      FieldName = 'Su_ipjov'
      Size = 1
    end
    object dbxMedUzsakymaiCapuota: TWideStringField
      FieldName = 'Capuota'
      Size = 1
    end
    object dbxMedUzsakymaiSlifuota: TWideStringField
      FieldName = 'Slifuota'
      Size = 1
    end
    object dbxMedUzsakymaiGlaistyta: TWideStringField
      FieldName = 'Glaistyta'
      Size = 1
    end
    object dbxMedUzsakymaiPakuota: TWideStringField
      FieldName = 'Pakuota'
      Size = 1
    end
    object dbxMedUzsakymaiVALIUTA: TWideStringField
      FieldName = 'VALIUTA'
      FixedChar = True
      Size = 3
    end
    object dbxMedUzsakymaiVALSUMA: TFMTBCDField
      FieldName = 'VALSUMA'
      Precision = 15
      Size = 2
    end
    object dbxMedUzsakymaiVALPVMSUMA: TFMTBCDField
      FieldName = 'VALPVMSUMA'
      Precision = 15
      Size = 2
    end
    object dbxMedUzsakymaiBAIGTA: TWideStringField
      FieldName = 'BAIGTA'
      FixedChar = True
      Size = 1
    end
    object dbxMedUzsakymaiPVMMOK: TWideStringField
      FieldName = 'PVMMOK'
      FixedChar = True
      Size = 1
    end
    object dbxMedUzsakymaiNUOLAIDA: TFloatField
      FieldName = 'NUOLAIDA'
    end
    object dbxMedUzsakymaiNSB: TWideStringField
      FieldName = 'NSB'
      FixedChar = True
      Size = 1
    end
    object dbxMedUzsakymaiPVMBUDAS: TWideStringField
      FieldName = 'PVMBUDAS'
      FixedChar = True
      Size = 1
    end
    object dbxMedUzsakymaiNr: TWideStringField
      FieldName = 'Nr'
    end
    object dbxMedUzsakymaiVALSUMAREZ: TFMTBCDField
      FieldName = 'VALSUMAREZ'
      Precision = 15
      Size = 2
    end
    object dbxMedUzsakymaiVALPVMSUMAREZ: TFMTBCDField
      FieldName = 'VALPVMSUMAREZ'
      Precision = 15
      Size = 2
    end
    object dbxMedUzsakymaiEksportas: TWideStringField
      FieldName = 'Eksportas'
      Size = 1
    end
    object dbxMedUzsakymaiPardID: TIntegerField
      FieldName = 'PardID'
    end
  end
  object dsxMedUzsakymai: TDataSource
    DataSet = dbxMedUzsakymai
    Left = 124
    Top = 659
  end
  object dbxMedUzsakymaiIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxMedUzsakymai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*'
      'FROM medUzsakymai_irasai M'
      'INNER JOIN medUzsakymai A ON (A.ID = M.ID)'
      'WHERE (M.ID = :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 187
    Top = 646
    object IntegerField130: TIntegerField
      FieldName = 'ID'
      Required = True
    end
    object IntegerField134: TIntegerField
      FieldName = 'NR'
      Required = True
    end
    object IntegerField136: TIntegerField
      FieldName = 'MID'
    end
    object dbxMedUzsakymaiIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedUzsakymaiIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedUzsakymaiIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField62: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxMedUzsakymaiIrasaiPardKaina: TFMTBCDField
      FieldName = 'PardKaina'
      DisplayFormat = '0.00'
      Precision = 15
    end
    object dbxMedUzsakymaiIrasaiPVM: TFloatField
      FieldName = 'PVM'
    end
  end
  object dsxMedUzsakymaiIrasai: TDataSource
    DataSet = dbxMedUzsakymaiIrasai
    Left = 200
    Top = 664
  end
  object dbxMedUzsakymaiRezIrasai: TSQLQuery
    NumericMapping = True
    DataSource = dsxMedUzsakymaiIrasai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end
      item
        DataType = ftInteger
        Name = 'MID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GrupesID,'
      ' P.Kodas,'
      ' P.BKodas,'
      ' P.Pavadinimas,'
      ' P.Matas,'
      ' P.GKodas,'
      ' P.EKAKodas,'
      ' P.EKAPavadinimas,'
      ' P.PKainaG,P.PKainaD1,P.PKainaD2,P.PKainaD3,'
      ' P.MVKodas, P.KNKodas, P.Netto,'
      ' PG.Pavadinimas AS GrPavadinimas,'
      ' PG.PVM,'
      ' PG.PrPsl'
      'FROM medUzsakymai_komp_irasai M'
      'INNER JOIN medUzsakymai A ON (A.ID = M.ID)'
      'INNER JOIN prekes P ON (M.PrekesID = P.ID)'
      'INNER JOIN prekiu_grupes PG ON (P.GrupesID = PG.ID)'
      'WHERE (M.ID = :ID) AND (M.MID = :MID)'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 287
    Top = 646
    object dbxMedUzsakymaiRezIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object dbxMedUzsakymaiRezIrasaiMID: TIntegerField
      FieldName = 'MID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object dbxMedUzsakymaiRezIrasaiENR: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object dbxMedUzsakymaiRezIrasaiNR: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object dbxMedUzsakymaiRezIrasaiPREKESID: TIntegerField
      FieldName = 'PREKESID'
      Required = True
    end
    object dbxMedUzsakymaiRezIrasaiGRUPESID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object dbxMedUzsakymaiRezIrasaiKODAS: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 10
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object dbxMedUzsakymaiRezIrasaiBKODAS: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object dbxMedUzsakymaiRezIrasaiPAVADINIMAS: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object dbxMedUzsakymaiRezIrasaiMATAS: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedUzsakymaiRezIrasaiGKODAS: TWideStringField
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object dbxMedUzsakymaiRezIrasaiEKAKODAS: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxMedUzsakymaiRezIrasaiEKAPAVADINIMAS: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object dbxMedUzsakymaiRezIrasaiGRPAVADINIMAS: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      DisplayWidth = 20
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxMedUzsakymaiRezIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object dbxMedUzsakymaiRezIrasaiPRPSL: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxMedUzsakymaiRezIrasaiKIEKIS: TFloatField
      DisplayLabel = 'Kiekis'
      FieldName = 'KIEKIS'
      Required = True
    end
    object dbxMedUzsakymaiRezIrasaiSERNR: TWideStringField
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object dbxMedUzsakymaiRezIrasaiPKAINAG: TFMTBCDField
      DisplayLabel = 'Kaina Gal.'
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedUzsakymaiRezIrasaiPKAINAD1: TFMTBCDField
      DisplayLabel = 'Kaina D1'
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedUzsakymaiRezIrasaiPKAINAD2: TFMTBCDField
      DisplayLabel = 'Kaina D2'
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedUzsakymaiRezIrasaiPKAINAD3: TFMTBCDField
      DisplayLabel = 'Kaina D3'
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object dbxMedUzsakymaiRezIrasaiNETTO: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object dbxMedUzsakymaiRezIrasaiKNKODAS: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object dbxMedUzsakymaiRezIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object dbxMedUzsakymaiRezIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object dbxMedUzsakymaiRezIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiRezIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiRezIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiRezIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxMedUzsakymaiRezIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxMedUzsakymaiRezIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiRezIrasaiPardKaina: TFMTBCDField
      FieldName = 'PardKaina'
      DisplayFormat = '0.00'
      Precision = 15
    end
    object dbxMedUzsakymaiRezIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxMedUzsakymaiRezIrasaiMVKODAS: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
  end
  object dspMedUzsakymai: TDataSetProvider
    DataSet = dbxMedUzsakymai
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 357
    Top = 647
  end
  object tbMedUzsakymai: TGamaClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspMedUzsakymai'
    Left = 432
    Top = 641
    object tbMedUzsakymaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbMedUzsakymaiOPDATA: TDateField
      Tag = 1
      DisplayLabel = 'Data i'#353
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedUzsakymaiOPLAIKAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas i'#353
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object tbMedUzsakymaiSANDELYS_IS: TIntegerField
      DisplayWidth = 3
      FieldName = 'SANDELYS_IS'
      Visible = False
    end
    object tbMedUzsakymaiSAN_IS_PAVADINIMAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_IS_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object tbMedUzsakymaiSAN_IS_ADRESAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Pradinio sand'#279'lio adresas'
      FieldName = 'SAN_IS_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object tbMedUzsakymaiOPDATA_I: TDateField
      Tag = 1
      DisplayLabel = 'Data '#303
      FieldName = 'OPDATA_I'
      EditMask = '!0000/00/00;1;_'
    end
    object tbMedUzsakymaiOPLAIKAS_I: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas '#303
      FieldName = 'OPLAIKAS_I'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object tbMedUzsakymaiSANDELYS_I: TIntegerField
      DisplayLabel = 'I'
      DisplayWidth = 3
      FieldName = 'SANDELYS_I'
      Visible = False
    end
    object tbMedUzsakymaiSAN_I_PAVADINIMAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio pavadinimas'
      DisplayWidth = 25
      FieldName = 'SAN_I_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 200
    end
    object tbMedUzsakymaiSAN_I_ADRESAS: TWideStringField
      Tag = 1
      DisplayLabel = 'Galinio sand'#279'lio adresas'
      FieldName = 'SAN_I_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object tbMedUzsakymaiATSAKINGAS: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object tbMedUzsakymaiA_PAVARDE: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object tbMedUzsakymaiA_PAREIGOS: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object tbMedUzsakymaiPR_ISDAVE: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object tbMedUzsakymaiI_PAVARDE: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'I_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object tbMedUzsakymaiI_PAREIGOS: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'I_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object tbMedUzsakymaiPR_PRIEME: TIntegerField
      FieldName = 'PR_PRIEME'
      Visible = False
    end
    object tbMedUzsakymaiP_PAVARDE: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object tbMedUzsakymaiP_PAREIGOS: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes pri'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object tbMedUzsakymaiPATVIRTINTA: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object tbMedUzsakymaiTURINYS: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object tbMedUzsakymaiSDARBID: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object tbMedUzsakymaiZS_DATA: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object tbMedUzsakymaiZS_LAIKAS: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object tbMedUzsakymaiZS_PAVARDE: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object tbMedUzsakymaiZT_DATA: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object tbMedUzsakymaiZT_LAIKAS: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object tbMedUzsakymaiZT_PAVARDE: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object tbMedUzsakymaiKlientas: TIntegerField
      FieldName = 'Klientas'
    end
    object tbMedUzsakymaiKliIKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#303'm.kodas'
      DisplayWidth = 7
      FieldName = 'KliIKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbMedUzsakymaiKliKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo kodas'
      FieldName = 'KliKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 10
    end
    object tbMedUzsakymaiKliPVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo PVM kodas'
      DisplayWidth = 10
      FieldName = 'KliPVMKodas'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbMedUzsakymaiKliPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo pavadinimas'
      DisplayWidth = 20
      FieldName = 'KliPavadinimas'
      ProviderFlags = [pfInWhere]
      Size = 120
    end
    object tbMedUzsakymaiNuvert: TWideStringField
      FieldName = 'Nuvert'
      Size = 1
    end
    object tbMedUzsakymaiSu_ipjov: TWideStringField
      FieldName = 'Su_ipjov'
      Size = 1
    end
    object tbMedUzsakymaiCapuota: TWideStringField
      FieldName = 'Capuota'
      Size = 1
    end
    object tbMedUzsakymaiSlifuota: TWideStringField
      FieldName = 'Slifuota'
      Size = 1
    end
    object tbMedUzsakymaiGlaistyta: TWideStringField
      FieldName = 'Glaistyta'
      Size = 1
    end
    object tbMedUzsakymaiPakuota: TWideStringField
      FieldName = 'Pakuota'
      Size = 1
    end
    object tbMedUzsakymaiVALIUTA: TWideStringField
      FieldName = 'VALIUTA'
      FixedChar = True
      Size = 3
    end
    object tbMedUzsakymaiVALSUMA: TFMTBCDField
      FieldName = 'VALSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 15
      Size = 2
    end
    object tbMedUzsakymaiVALPVMSUMA: TFMTBCDField
      FieldName = 'VALPVMSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 15
      Size = 2
    end
    object tbMedUzsakymaiBAIGTA: TWideStringField
      FieldName = 'BAIGTA'
      FixedChar = True
      Size = 1
    end
    object tbMedUzsakymaiPVMMOK: TWideStringField
      FieldName = 'PVMMOK'
      FixedChar = True
      Size = 1
    end
    object tbMedUzsakymaiNUOLAIDA: TFloatField
      FieldName = 'NUOLAIDA'
    end
    object tbMedUzsakymaiVALVISO: TBCDField
      Tag = 1
      DisplayLabel = '$ Viso'
      FieldKind = fkInternalCalc
      FieldName = 'VALVISO'
      ProviderFlags = [pfInWhere]
      DisplayFormat = '#,##0.00'
      Precision = 15
    end
    object tbMedUzsakymaiPVMBUDAS: TWideStringField
      FieldName = 'PVMBUDAS'
      FixedChar = True
      Size = 1
    end
    object tbMedUzsakymaiNSB: TWideStringField
      FieldName = 'NSB'
      FixedChar = True
      Size = 1
    end
    object tbMedUzsakymaiVALSUMAREZ: TFMTBCDField
      FieldName = 'VALSUMAREZ'
      DisplayFormat = '#,##0.00'
      Precision = 15
      Size = 2
    end
    object tbMedUzsakymaiVALPVMSUMAREZ: TFMTBCDField
      FieldName = 'VALPVMSUMAREZ'
      DisplayFormat = '#,##0.00'
      Precision = 15
      Size = 2
    end
    object tbMedUzsakymaiEksportas: TWideStringField
      FieldName = 'Eksportas'
      Size = 1
    end
    object tbMedUzsakymaiNr: TWideStringField
      FieldName = 'Nr'
    end
    object tbMedUzsakymaidbxMedUzsakymaiIrasai: TDataSetField
      FieldName = 'dbxMedUzsakymaiIrasai'
    end
    object tbMedUzsakymaiPardID: TIntegerField
      FieldName = 'PardID'
    end
    object tbMedUzsakymaiVALVISOREZ: TBCDField
      FieldKind = fkInternalCalc
      FieldName = 'VALVISOREZ'
      Precision = 15
    end
  end
  object dsMedUzsakymai: TDataSource
    DataSet = tbMedUzsakymai
    Left = 444
    Top = 653
  end
  object tbMedUzsakymaiIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    DataSetField = tbMedUzsakymaidbxMedUzsakymaiIrasai
    Params = <>
    Left = 515
    Top = 640
    object tbMedUzsakymaiIrasaiID: TIntegerField
      FieldName = 'ID'
      Required = True
    end
    object tbMedUzsakymaiIrasaiNR: TIntegerField
      FieldName = 'NR'
      Required = True
    end
    object tbMedUzsakymaiIrasaiMID: TIntegerField
      FieldName = 'MID'
    end
    object tbMedUzsakymaiIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedUzsakymaiIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedUzsakymaiIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedUzsakymaiIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedUzsakymaiIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedUzsakymaiIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedUzsakymaiIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedUzsakymaiIrasaiKIEKIS: TFloatField
      FieldName = 'KIEKIS'
    end
    object tbMedUzsakymaiIrasaiPardKaina: TFMTBCDField
      FieldName = 'PardKaina'
      DisplayFormat = '0.00'
      Precision = 15
    end
    object tbMedUzsakymaiIrasaiPVM: TFloatField
      FieldName = 'PVM'
    end
    object tbMedUzsakymaiIrasaidbxMedUzsakymaiRezIrasai: TDataSetField
      FieldName = 'dbxMedUzsakymaiRezIrasai'
    end
    object tbMedUzsakymaiIrasaiSUM_KIEKIS: TAggregateField
      FieldName = 'SUM_KIEKIS'
      Active = True
      Expression = 'Sum(plotas)'
    end
    object tbMedUzsakymaiIrasaiSUM_VALGSUMA: TAggregateField
      FieldName = 'SUM_VALGSUMA'
      Active = True
      Expression = 'Sum(plotas*PardKaina)'
    end
    object AggregateField12: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
    object tbMedUzsakymaiIrasaiVisoUzsakyta: TAggregateField
      FieldName = 'VisoUzsakyta'
      Active = True
      Expression = 'SUM(plotas)'
    end
    object tbMedUzsakymaiIrasaiSum_ValPVMSuma: TAggregateField
      FieldName = 'Sum_ValPVMSuma'
      Active = True
      Expression = 'Sum(Plotas*PardKaina*pvm/100)'
    end
  end
  object dsMedUzsakymaiIrasai: TDataSource
    DataSet = tbMedUzsakymaiIrasai
    Left = 526
    Top = 652
  end
  object tbMedUzsakymaiRezIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    DataSetField = tbMedUzsakymaiIrasaidbxMedUzsakymaiRezIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 602
    Top = 640
    object IntegerField168: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object IntegerField169: TIntegerField
      FieldName = 'MID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object IntegerField170: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object IntegerField171: TIntegerField
      DisplayLabel = 'Nr'
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object IntegerField172: TIntegerField
      FieldName = 'PREKESID'
      Required = True
    end
    object IntegerField173: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object StringField427: TWideStringField
      DisplayLabel = 'Kodas'
      DisplayWidth = 10
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object StringField428: TWideStringField
      DisplayLabel = 'Br.Kodas'
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object StringField429: TWideStringField
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object StringField430: TWideStringField
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField431: TWideStringField
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object StringField432: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField433: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object StringField434: TWideStringField
      DisplayLabel = 'Gr.Pavadinimas'
      DisplayWidth = 20
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object FloatField101: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object StringField435: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object FloatField102: TFloatField
      DisplayLabel = 'Kiekis'
      FieldName = 'KIEKIS'
      Required = True
    end
    object StringField437: TWideStringField
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object FMTBCDField68: TFMTBCDField
      DisplayLabel = 'Kaina Gal.'
      FieldName = 'PKAINAG'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField69: TFMTBCDField
      DisplayLabel = 'Kaina D1'
      FieldName = 'PKAINAD1'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField70: TFMTBCDField
      DisplayLabel = 'Kaina D2'
      FieldName = 'PKAINAD2'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FMTBCDField71: TFMTBCDField
      DisplayLabel = 'Kaina D3'
      FieldName = 'PKAINAD3'
      ProviderFlags = []
      Precision = 15
      Size = 4
    end
    object FloatField103: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object StringField438: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object StringField439: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object StringField440: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object FloatField104: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField105: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField106: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object StringField441: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object StringField442: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object FloatField107: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object FloatField108: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedUzsakymaiRezIrasaiPardKaina: TFMTBCDField
      FieldName = 'PardKaina'
      DisplayFormat = '0.00'
      Precision = 15
    end
    object StringField444: TWideStringField
      DisplayLabel = 'MV Kodas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object AggregateField14: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
    object tbMedUzsakymaiRezIrasaiVisoRezervuota: TAggregateField
      FieldName = 'VisoRezervuota'
      Active = True
      Expression = 'SUM(plotas*kiekis)'
    end
    object tbMedUzsakymaiRezIrasaiSUM_KIEKIS: TAggregateField
      FieldName = 'SUM_KIEKIS'
      Active = True
      Expression = 'Sum(plotas*kiekis)'
    end
    object tbMedUzsakymaiRezIrasaiSUM_VALGSUMA: TAggregateField
      FieldName = 'SUM_VALGSUMA'
      Active = True
      Expression = 'Sum(plotas*kiekis*PardKaina)'
    end
    object tbMedUzsakymaiRezIrasaiSum_ValPVMSuma: TAggregateField
      FieldName = 'Sum_ValPVMSuma'
      Active = True
      Expression = 'Sum(plotas*kiekis*PardKaina*pvm/100)'
    end
  end
  object dsMedUzsakymaiRezIrasai: TDataSource
    AutoEdit = False
    DataSet = tbMedUzsakymaiRezIrasai
    Left = 614
    Top = 653
  end
  object dbxPardS: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'SDARBID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDARBID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DATANUO'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DATAIKI'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'KLIENTAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'KLIENTAS'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'MOKETOJAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'MOKETOJAS'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ATSAKINGAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'ATSAKINGAS'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'DEPART'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'DEPART'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'NR'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT M.*,'
      'M.OPDATA + M.MOKDIENA AS MOKDATA,'
      'FK.KODAS AS KLIENTO_KODAS,'
      'FK.IKODAS AS KLIENTO_IKODAS,'
      'FK.PVMKODAS AS KLIENTO_PVMKODAS,'
      'FK.PAVADINIMAS AS KLIENTO_PAVADINIMAS,'
      'FK.SALIS AS KLIENTO_SALISA2,'
      'SK.A3 AS KLIENTO_SALISA3,'
      'SK.COUNTRY AS KLIENTO_SALISCOUNTRY,'
      'SK.PAVADINIMAS AS KLIENTO_SALISPAVADINIMAS,'
      'FK.MIESTAS AS KLIENTO_MIESTAS,'
      'FK.INDEKSAS AS KLIENTO_INDEKSAS,'
      'FK.ADRESAS AS KLIENTO_ADRESAS,'
      'FK.TELEFONAS_FAKSAS AS KLIENTO_TELEFONAS_FAKSAS,'
      'FK.EMAIL AS KLIENTO_EMAIL,'
      'FK.NUOLAIDA AS KLIENTO_NUOLAIDA,'
      'FK.URL AS KLIENTO_URL,'
      'FK.MOKDIENA AS KLIENTO_MOKDIENA,'
      'FM.KODAS AS MOK_KODAS,'
      'FM.IKODAS AS MOK_IKODAS,'
      'FM.PVMKODAS AS MOK_PVMKODAS,'
      'FM.PAVADINIMAS AS MOK_PAVADINIMAS,'
      'FM.SALIS AS MOK_SALISA2,'
      'SM.A3 AS MOK_SALISA3,'
      'SM.COUNTRY AS MOK_SALISCOUNTRY,'
      'SM.PAVADINIMAS AS MOK_SALISPAVADINIMAS,'
      'FM.MIESTAS AS MOK_MIESTAS,'
      'FM.INDEKSAS AS MOK_INDEKSAS,'
      'FM.ADRESAS AS MOK_ADRESAS,'
      'FM.TELEFONAS_FAKSAS AS MOK_TELEFONAS_FAKSAS,'
      'FM.EMAIL AS MOK_EMAIL,'
      'FM.NUOLAIDA AS MOK_NUOLAIDA,'
      'FM.URL AS MOK_URL,'
      'FM.MOKDIENA AS MOK_MOKDIENA,'
      'DA.PAVARDE AS A_PAVARDE,  DA.PAREIGOS AS A_PAREIGOS,'
      'DP.PAVARDE AS P_PAVARDE,  DP.PAREIGOS AS P_PAREIGOS,'
      'DV.PAVARDE AS V_PAVARDE,  DV.PAREIGOS AS V_PAREIGOS,'
      'DT.PAVARDE AS T_PAVARDE,  DT.PAREIGOS AS T_PAREIGOS,'
      'T.MARKE,'
      'S.PAVADINIMAS AS SAN_PAVADINIMAS, S.ADRESAS AS SAN_ADRESAS,'
      'B.KODAS AS BANKOKODAS, B.PAVADINIMAS AS BANKOPAVADINIMAS, '
      'B.ADRESAS AS BANKOADRESAS, B.SWIFT AS BANKOSWIFT,'
      'Z.PATVIRTINTA, Z.TURINYS'
      ', Z.SDATA AS ZS_DATA, Z.SLAIKAS AS ZS_LAIKAS'
      ', Z.TDATA AS ZT_DATA, Z.TLAIKAS AS ZT_LAIKAS'
      ', ZS.PAVARDE AS ZS_PAVARDE, ZT.PAVARDE AS ZT_PAVARDE'
      ',Z.SDARBID'
      ''
      ',DEP.FID AS DEPFID'
      ',FDEP.KODAS AS DEPKODAS'
      ',FDEP.IKODAS AS DEPIKODAS'
      ',FDEP.PVMKODAS AS DEPPVMKODAS'
      ',FDEP.PAVADINIMAS AS DEPPAVADINIMAS'
      ',DEP.KF AS DEPKF'
      ''
      ',FS.KODAS AS FSKODAS'
      ',FS.PAVADINIMAS AS FSPAVADINIMAS'
      ',FS.BIUDZETAS AS FSBIUDZETAS'
      ''
      'FROM MEDPARDAVIMAI M'
      'LEFT OUTER JOIN FIRMOS FK ON (FK.ID = M.KLIENTAS)'
      'LEFT OUTER JOIN SALYS SK ON (SK.A2 = FK.SALIS)'
      'LEFT OUTER JOIN FIRMOS FM ON (FM.ID = M.MOKETOJAS)'
      'LEFT OUTER JOIN SALYS SM ON (SM.A2 = FM.SALIS)'
      'LEFT OUTER JOIN DARBUOTOJAI DA ON (DA.ID = M.ATSAKINGAS)'
      'LEFT OUTER JOIN DARBUOTOJAI DP ON (DP.ID = M.PR_ISDAVE)'
      'LEFT OUTER JOIN DARBUOTOJAI DV ON (DV.ID = M.VAIRUOTOJAS)'
      'LEFT OUTER JOIN DARBUOTOJAI DT ON (DT.ID = M.TR_PAEME)'
      'LEFT OUTER JOIN TRANSPORTAS T ON (T.VALST_NR = M.TRANSPORTAS)'
      'LEFT OUTER JOIN SANDELIAI S ON (S.ID = M.SANDELYS)'
      'LEFT OUTER JOIN BANKAI B ON (B.ID = M.BANKAS)'
      'LEFT OUTER JOIN ZURNALAI Z ON (Z.ID = M.ID)'
      'LEFT OUTER JOIN DARBUOTOJAI ZS ON (ZS.ID = Z.SDARBID)'
      'LEFT OUTER JOIN DARBUOTOJAI ZT ON (ZT.ID = Z.TDARBID)'
      ''
      'LEFT OUTER JOIN DEPART DEP ON (DEP.ID = M.DEPID)'
      'LEFT OUTER JOIN FIRMOS FDEP ON (FDEP.ID = DEP.FID)'
      ''
      'LEFT OUTER JOIN FS FS ON (FS.ID = M.FSID)'
      ''
      
        'WHERE ((Z.SDARBID IS NULL)  OR ((0) >= :SDARBID) OR (Z.SDARBID =' +
        ' :SDARBID))'
      'AND ('
      '(M.ID= :ID) OR (Z.PATVIRTINTA <> '#39'+'#39') OR '
      ' ((M.OPDATA BETWEEN :DATANUO AND :DATAIKI) AND'
      ' ((M.KLIENTAS = :KLIENTAS) OR ((0) >= :KLIENTAS )) AND'
      ' ((M.MOKETOJAS = :MOKETOJAS) OR ((0) >= :MOKETOJAS )) AND'
      ' ((M.ATSAKINGAS = :ATSAKINGAS) OR ((0) >= :ATSAKINGAS)) AND'
      ' ((M.DEPID = :DEPART) OR ((0) >= :DEPART)) AND'
      ' (M.NR LIKE :NR))'
      ')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 19
    Top = 752
  end
  object dspPardS: TDataSetProvider
    DataSet = dbxPardS
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 28
    Top = 764
  end
  object tbPardS: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    IndexFieldNames = 'OPDATA;NR;OPLAIKAS'
    Params = <
      item
        DataType = ftInteger
        Name = 'SDARBID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'SDARBID'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftDate
        Name = 'DATANUO'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'DATAIKI'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'KLIENTAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'KLIENTAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'MOKETOJAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'MOKETOJAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'ATSAKINGAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'ATSAKINGAS'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'DEPART'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftInteger
        Name = 'DEPART'
        ParamType = ptInput
        Value = -1
      end
      item
        DataType = ftString
        Name = 'NR'
        ParamType = ptInput
      end>
    ProviderName = 'dspPardS'
    Left = 40
    Top = 752
    object IntegerField103: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object DateField33: TDateField
      Tag = 1
      DisplayLabel = 'Data'
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object StringField269: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas'
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object StringField270: TWideStringField
      Tag = 1
      DisplayWidth = 8
      FieldName = 'NR'
      Required = True
    end
    object IntegerField105: TIntegerField
      FieldName = 'KLIENTAS'
      Required = True
      Visible = False
    end
    object StringField290: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#303'm.kodas'
      DisplayWidth = 7
      FieldName = 'KLIENTO_IKODAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object StringField291: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo kodas'
      FieldName = 'KLIENTO_KODAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 10
    end
    object tbPardSKliento_PVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo PVM kodas'
      DisplayWidth = 10
      FieldName = 'KLIENTO_PVMKODAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object StringField292: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo pavadinimas'
      DisplayWidth = 20
      FieldName = 'KLIENTO_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 120
    end
    object tbPardSKliento_SalisA2: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#353'alies kodas A2'
      FieldName = 'KLIENTO_SALISA2'
      ProviderFlags = []
      Size = 2
    end
    object tbPardSKliento_SalisA3: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#353'alies kodas A3'
      FieldName = 'KLIENTO_SALISA3'
      ProviderFlags = []
      Size = 3
    end
    object tbPardSKliento_SalisPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#353'alis'
      FieldName = 'KLIENTO_SALISPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardSKliento_SalisCountry: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo country'
      FieldName = 'KLIENTO_SALISCOUNTRY'
      ProviderFlags = []
      Size = 50
    end
    object tbPardSKliento_Miestas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo miestas'
      FieldName = 'KLIENTO_MIESTAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardSKliento_Indeksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo indeksas'
      FieldName = 'KLIENTO_INDEKSAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField293: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo adresas'
      DisplayWidth = 20
      FieldName = 'KLIENTO_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object tbPardSKliento_Telefonas_faksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo telefonas/faksas'
      FieldName = 'KLIENTO_TELEFONAS_FAKSAS'
      Visible = False
      Size = 30
    end
    object tbPardSKliento_EMail: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo E-Mail'
      FieldName = 'KLIENTO_EMAIL'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardSKliento_Nuolaida: TFloatField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo Nuolaida'
      FieldName = 'KLIENTO_NUOLAIDA'
      ProviderFlags = []
      Visible = False
    end
    object tbPardSKliento_URL: TWideStringField
      DisplayLabel = 'Gav'#279'jo URL'
      FieldName = 'KLIENTO_URL'
      ProviderFlags = []
      Size = 255
    end
    object tbPardSKliento_MokDiena: TIntegerField
      DisplayLabel = 'Gav'#279'jo Mok.Diena'
      FieldName = 'KLIENTO_MOKDIENA'
      ProviderFlags = []
    end
    object IntegerField111: TIntegerField
      FieldName = 'MOKETOJAS'
      Visible = False
    end
    object StringField294: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo '#303'm.kodas'
      DisplayWidth = 7
      FieldName = 'MOK_IKODAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object StringField295: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo kodas'
      FieldName = 'MOK_KODAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 10
    end
    object tbPardSMok_PVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo PVM kodas'
      DisplayWidth = 10
      FieldName = 'MOK_PVMKODAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object StringField300: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo pavadinimas'
      DisplayWidth = 20
      FieldName = 'MOK_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Size = 120
    end
    object tbPardSMok_SalisA2: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok.'#353'alies kodas A2'
      FieldName = 'MOK_SALISA2'
      ProviderFlags = []
      Size = 2
    end
    object tbPardSMok_SalisA3: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok.'#353'alies kodas A3'
      FieldName = 'MOK_SALISA3'
      ProviderFlags = []
      Size = 3
    end
    object tbPardSMok_SalisPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok.'#353'alis'
      FieldName = 'MOK_SALISPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardSMok_SalisCountry: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok.country'
      FieldName = 'MOK_SALISCOUNTRY'
      ProviderFlags = []
      Size = 50
    end
    object tbPardSMok_Miestas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok.miestas'
      FieldName = 'MOK_MIESTAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardSMok_Indeksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok.indeksas'
      FieldName = 'MOK_INDEKSAS'
      ProviderFlags = []
      Size = 10
    end
    object StringField305: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo adresas'
      FieldName = 'MOK_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object tbPardSMok_Telefonas_faksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo telefonas/faksas'
      FieldName = 'MOK_TELEFONAS_FAKSAS'
      Visible = False
      Size = 30
    end
    object tbPardSMok_EMail: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok.E-Mail'
      FieldName = 'MOK_EMAIL'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardSMok_Nuolaida: TFloatField
      Tag = 1
      DisplayLabel = 'Mok.Nuolaida'
      FieldName = 'MOK_NUOLAIDA'
      ProviderFlags = []
      Visible = False
    end
    object tbPardSMok_URL: TWideStringField
      DisplayLabel = 'Mok'#279'tojo URL'
      FieldName = 'MOK_URL'
      ProviderFlags = []
      Size = 255
    end
    object tbPardSMok_MokDiena: TIntegerField
      DisplayLabel = 'Mok'#279'tojo Mok.Diena'
      FieldName = 'MOK_MOKDIENA'
      ProviderFlags = []
    end
    object IntegerField115: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object StringField306: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldName = 'A_PAVARDE'
      ProviderFlags = [pfInWhere]
      Size = 50
    end
    object StringField307: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldName = 'A_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField116: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object StringField309: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldName = 'P_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField327: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldName = 'P_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField117: TIntegerField
      FieldName = 'VAIRUOTOJAS'
      Visible = False
    end
    object StringField328: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pavard'#279
      DisplayWidth = 15
      FieldName = 'V_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField331: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pareigos'
      DisplayWidth = 15
      FieldName = 'V_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object IntegerField118: TIntegerField
      FieldName = 'TR_PAEME'
      Visible = False
    end
    object StringField332: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pavard'#279
      DisplayWidth = 15
      FieldName = 'T_PAVARDE'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField333: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pareigos'
      DisplayWidth = 15
      FieldName = 'T_PAREIGOS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 30
    end
    object StringField334: TWideStringField
      Tag = 1
      DisplayLabel = 'Valst.Nr.'
      FieldName = 'TRANSPORTAS'
      Visible = False
      EditMask = 'AAAAAA;0;_'
      Size = 6
    end
    object StringField337: TWideStringField
      Tag = 1
      DisplayLabel = 'Auto.mark'#279
      FieldName = 'MARKE'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object IntegerField119: TIntegerField
      FieldName = 'SANDELYS'
      Required = True
      Visible = False
    end
    object StringField338: TWideStringField
      Tag = 1
      DisplayLabel = 'Sand'#279'lis'
      DisplayWidth = 10
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object StringField339: TWideStringField
      Tag = 1
      DisplayLabel = 'Sand'#279'lio adresas'
      DisplayWidth = 15
      FieldName = 'SAN_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object StringField340: TWideStringField
      Tag = 1
      FieldName = 'EKSPORTAS'
      Visible = False
      Size = 1
    end
    object FMTBCDField40: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ Suma'
      DisplayWidth = 9
      FieldName = 'VALSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object FloatField63: TFloatField
      Tag = 1
      DisplayLabel = 'Nuol.%'
      DisplayWidth = 5
      FieldName = 'NUOLAIDA'
      Visible = False
    end
    object tbPardSNSB: TWideStringField
      FieldName = 'NSB'
      FixedChar = True
      Size = 1
    end
    object FMTBCDField41: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ PVM Suma'
      DisplayWidth = 6
      FieldName = 'VALPVMSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object BCDField5: TBCDField
      Tag = 1
      DisplayLabel = '$ Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'VALVISO'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object StringField343: TWideStringField
      Tag = 1
      DisplayLabel = '$'
      FieldName = 'VALIUTA'
      Required = True
      Size = 3
    end
    object StringField345: TWideStringField
      Tag = 1
      DisplayLabel = '$ pavadinimas'
      FieldKind = fkLookup
      FieldName = 'VLT_PAVAD'
      LookupDataSet = dmBendras.tbValiutosLookup
      LookupKeyFields = 'Kodas'
      LookupResultField = 'Pavadinimas'
      KeyFields = 'Valiuta'
      Visible = False
      Lookup = True
    end
    object StringField346: TWideStringField
      FieldKind = fkLookup
      FieldName = 'VLT_DALIS'
      LookupDataSet = dmBendras.tbValiutosLookup
      LookupKeyFields = 'Kodas'
      LookupResultField = 'Dalis'
      KeyFields = 'Valiuta'
      Visible = False
      Size = 10
      Lookup = True
    end
    object DateField34: TDateField
      Tag = 1
      DisplayLabel = '$ data'
      FieldKind = fkInternalCalc
      FieldName = 'VALDATA'
      Visible = False
    end
    object FloatField64: TFloatField
      Tag = 1
      DisplayLabel = '$ kursas'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_KURSAS'
      Visible = False
    end
    object IntegerField124: TIntegerField
      Tag = 1
      DisplayLabel = '$ daugiklis'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DAUGIKLIS'
      Visible = False
    end
    object FMTBCDField42: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      DisplayWidth = 9
      FieldName = 'BAZSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object FMTBCDField43: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.PVM Suma'
      DisplayWidth = 6
      FieldName = 'BAZPVMSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object BCDField6: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'BAZVISO'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object StringField347: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Required = True
      Size = 3
    end
    object IntegerField127: TIntegerField
      FieldName = 'MID'
      Visible = False
    end
    object StringField350: TWideStringField
      FieldName = 'FAKTURA'
      Visible = False
      Size = 1
    end
    object FMTBCDField44: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      Visible = False
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object IntegerField128: TIntegerField
      FieldName = 'BANKAS'
      Visible = False
    end
    object StringField351: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko kodas'
      DisplayWidth = 10
      FieldName = 'BANKOKODAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object StringField354: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko pavadinimas'
      DisplayWidth = 25
      FieldName = 'BANKOPAVADINIMAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField355: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko adresas'
      DisplayWidth = 15
      FieldName = 'BANKOADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 50
    end
    object StringField356: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko SWIFT'
      DisplayWidth = 10
      FieldName = 'BANKOSWIFT'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object StringField357: TWideStringField
      Tag = 1
      DisplayLabel = 'A/S Nr.'
      DisplayWidth = 20
      FieldName = 'ASNR'
      Visible = False
      Size = 50
    end
    object IntegerField129: TIntegerField
      Tag = 1
      DisplayLabel = 'Mok.diena'
      DisplayWidth = 4
      FieldName = 'MOKDIENA'
      Visible = False
    end
    object tbPardSMokData: TDateField
      DisplayLabel = 'Mok.data'
      FieldName = 'MOKDATA'
      ProviderFlags = []
    end
    object StringField358: TWideStringField
      FieldName = 'PVMMOK'
      Visible = False
      Size = 1
    end
    object StringField368: TWideStringField
      FieldName = 'EKA'
      Visible = False
      Size = 200
    end
    object StringField369: TWideStringField
      Tag = 1
      DisplayWidth = 20
      FieldName = 'PAGAL'
      Visible = False
      Size = 100
    end
    object tbPardSPVMBudas: TWideStringField
      Tag = 1
      DisplayLabel = 'PVM sk. b'#363'das'
      FieldName = 'PVMBUDAS'
      Visible = False
      Size = 1
    end
    object StringField370: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 1
    end
    object StringField371: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 100
    end
    object tbPardSSDarbID: TIntegerField
      FieldName = 'SDARBID'
      ProviderFlags = []
    end
    object tbPardSZS_Data: TDateField
      DisplayLabel = 'S.Data'
      FieldName = 'ZS_DATA'
    end
    object tbPardSZS_Laikas: TTimeField
      DisplayLabel = 'S.Laikas'
      FieldName = 'ZS_LAIKAS'
    end
    object tbPardSZS_Pavarde: TWideStringField
      DisplayLabel = 'S.Pavard'#279
      FieldName = 'ZS_PAVARDE'
      Size = 50
    end
    object tbPardSZT_Data: TDateField
      DisplayLabel = 'T.Data'
      FieldName = 'ZT_DATA'
    end
    object tbPardSZT_Laikas: TTimeField
      DisplayLabel = 'T.Laikas'
      FieldName = 'ZT_LAIKAS'
    end
    object tbPardSZT_Pavarde: TWideStringField
      DisplayLabel = 'T.Pavard'#279
      FieldName = 'ZT_PAVARDE'
      Size = 50
    end
    object tbPardSAvansas: TWideStringField
      FieldName = 'AVANSAS'
      Size = 1
    end
    object tbPardSDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object tbPardSDepFID: TIntegerField
      FieldName = 'DEPFID'
      ProviderFlags = []
    end
    object tbPardSDepKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad. kodas'
      FieldName = 'DEPKODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbPardSDepIKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.kodas'
      FieldName = 'DEPIKODAS'
      ProviderFlags = []
    end
    object tbPardSDepPVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.'#303'm.PVM kodas'
      FieldName = 'DEPPVMKODAS'
      ProviderFlags = []
    end
    object tbPardSDepPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pad.pavadinimas'
      DisplayWidth = 20
      FieldName = 'DEPPAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object tbPardSDepKF: TWideStringField
      DisplayLabel = 'Pad.kodas/funkcija'
      FieldName = 'DEPKF'
      ProviderFlags = []
    end
    object tbPardSFSID: TIntegerField
      FieldName = 'FSID'
    end
    object tbPardSFSKodas: TWideStringField
      DisplayLabel = 'F.S.Kodas'
      FieldName = 'FSKODAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardSFSPavadinimas: TWideStringField
      DisplayLabel = 'F.S.Pavadinimas'
      FieldName = 'FSPAVADINIMAS'
      ProviderFlags = []
      Size = 250
    end
    object tbPardSFSBiudzetas: TWideStringField
      DisplayLabel = 'F.S.Biudzetas'
      FieldName = 'FSBIUDZETAS'
      ProviderFlags = []
      Size = 1
    end
    object AggregateField10: TAggregateField
      FieldName = 'SUM_BAZSUMA'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazSuma)'
    end
    object AggregateField13: TAggregateField
      FieldName = 'SUM_BAZSAVIKAINA'
      Active = True
      DisplayFormat = '#,##0.0000'
      Expression = 'Sum(BazSavikaina)'
    end
    object AggregateField15: TAggregateField
      FieldName = 'SUM_BAZPVMSUMA'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazPVMSuma)'
    end
    object AggregateField16: TAggregateField
      FieldName = 'SUM_BAZVISO'
      Active = True
      DisplayFormat = '#,##0.00'
      Expression = 'Sum(BazViso)'
    end
  end
  object dsPardS: TDataSource
    DataSet = tbPardS
    Left = 48
    Top = 765
  end
  object dbxPardavimai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    SQL.Strings = (
      'SELECT M.*, '
      ' Z.PATVIRTINTA, Z.TURINYS'
      'FROM MEDPARDAVIMAI M'
      'LEFT OUTER JOIN ZURNALAI Z ON (Z.ID = M.ID)'
      'WHERE (M.ID= :ID) ')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 133
    Top = 754
    object dbxPardavimaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardavimaiOpData: TDateField
      FieldName = 'OPDATA'
    end
    object dbxPardavimaiOpLaikas: TWideStringField
      FieldName = 'OPLAIKAS'
      FixedChar = True
      Size = 5
    end
    object dbxPardavimaiNr: TWideStringField
      FieldName = 'NR'
    end
    object dbxPardavimaiBankas: TIntegerField
      FieldName = 'BANKAS'
    end
    object dbxPardavimaiKlientas: TIntegerField
      FieldName = 'KLIENTAS'
    end
    object dbxPardavimaiMoketojas: TIntegerField
      FieldName = 'MOKETOJAS'
    end
    object dbxPardavimaiAtsakingas: TIntegerField
      FieldName = 'ATSAKINGAS'
    end
    object dbxPardavimaiPr_isdave: TIntegerField
      FieldName = 'PR_ISDAVE'
    end
    object dbxPardavimaiVairuotojas: TIntegerField
      FieldName = 'VAIRUOTOJAS'
    end
    object dbxPardavimaiTr_paeme: TIntegerField
      FieldName = 'TR_PAEME'
    end
    object dbxPardavimaiTransportas: TWideStringField
      FieldName = 'TRANSPORTAS'
      Size = 6
    end
    object dbxPardavimaiSandelys: TIntegerField
      FieldName = 'SANDELYS'
    end
    object dbxPardavimaiValiuta: TWideStringField
      FieldName = 'VALIUTA'
      FixedChar = True
      Size = 3
    end
    object dbxPardavimaiPagal: TWideStringField
      FieldName = 'PAGAL'
      Size = 100
    end
    object dbxPardavimaiValSuma: TFMTBCDField
      FieldName = 'VALSUMA'
      Precision = 15
      Size = 2
    end
    object dbxPardavimaiValPVMSuma: TFMTBCDField
      FieldName = 'VALPVMSUMA'
      Precision = 15
      Size = 2
    end
    object dbxPardavimaiEksportas: TWideStringField
      FieldName = 'EKSPORTAS'
      FixedChar = True
      Size = 1
    end
    object dbxPardavimaiFaktura: TWideStringField
      FieldName = 'FAKTURA'
      FixedChar = True
      Size = 1
    end
    object dbxPardavimaiMID: TIntegerField
      FieldName = 'MID'
    end
    object dbxPardavimaiMokDiena: TIntegerField
      FieldName = 'MOKDIENA'
    end
    object dbxPardavimaiPVMMok: TWideStringField
      FieldName = 'PVMMOK'
      FixedChar = True
      Size = 1
    end
    object dbxPardavimaiEKA: TWideStringField
      FieldName = 'EKA'
      Size = 200
    end
    object dbxPardavimaiASNr: TWideStringField
      FieldName = 'ASNR'
      Size = 50
    end
    object dbxPardavimaiNuolaida: TFloatField
      FieldName = 'NUOLAIDA'
    end
    object dbxPardavimaiBazSavikaina: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxPardavimaiBazSuma: TFMTBCDField
      FieldName = 'BAZSUMA'
      Precision = 15
      Size = 2
    end
    object dbxPardavimaiBazPVMSuma: TFMTBCDField
      FieldName = 'BAZPVMSUMA'
      Precision = 15
      Size = 2
    end
    object dbxPardavimaiBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      FixedChar = True
      Size = 3
    end
    object dbxPardavimaiPVMBudas: TWideStringField
      FieldName = 'PVMBUDAS'
      FixedChar = True
      Size = 1
    end
    object dbxPardavimaiASID: TIntegerField
      FieldName = 'ASID'
    end
    object dbxPardavimaiPatvirtinta: TWideStringField
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardavimaiTurinys: TWideStringField
      FieldName = 'TURINYS'
      ProviderFlags = []
      Size = 100
    end
    object dbxPardavimaiSKod: TWideStringField
      FieldName = 'SKOD'
      Size = 2
    end
    object dbxPardavimaiSalis: TWideStringField
      FieldName = 'SALIS'
      Size = 2
    end
    object dbxPardavimaiPSKod: TWideStringField
      FieldName = 'PSKOD'
      Size = 3
    end
    object dbxPardavimaiTrKod: TWideStringField
      FieldName = 'TRKOD'
      Size = 1
    end
    object dbxPardavimaiApKod: TWideStringField
      FieldName = 'APKOD'
      Size = 1
    end
    object dbxPardavimaiNSB: TWideStringField
      FieldName = 'NSB'
      FixedChar = True
      Size = 1
    end
    object dbxPardavimaiAvansas: TWideStringField
      FieldName = 'AVANSAS'
      Size = 1
    end
    object dbxPardavimaiDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object dbxPardavimaiFSID: TIntegerField
      FieldName = 'FSID'
    end
  end
  object dsxPardavimai: TDataSource
    DataSet = dbxPardavimai
    Left = 146
    Top = 766
  end
  object dbxPardIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxPardavimai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      
        ' (select sum(PKI.kiekis*PKI.plotas) from medPardavimu_komp_irasa' +
        'i PKI'
      '        where PKI.ID = M.ID  AND PKI.MID = M.MID) AS visoPlotas,'
      
        ' (select sum(PKI.kiekis*PKI.turis) from medPardavimu_komp_irasai' +
        ' PKI'
      '        where PKI.ID = M.ID  AND PKI.MID = M.MID) AS visoTuris,'
      ' P.GRUPESID,'
      ' P.KODAS,'
      ' P.BKODAS,'
      ' P.PAVADINIMAS,'
      ' P.MATAS,'
      ' P.GKODAS,'
      ' P.EKAKODAS,'
      ' P.EKAPAVADINIMAS,'
      ' P.MVKODAS, P.KNKODAS, '
      ' P.NETTO, P.BRUTTO,'
      ' P.CHAR1, P.CHAR2, P.CHAR3,'
      ' PG.PAVADINIMAS AS GRPAVADINIMAS,'
      ' PG.PVM,'
      ' PG.PRPSL,'
      ' PG.ANUOLAIDA AS GANUOLAIDA,'
      ' PG.CHAR1 AS GCHAR1,'
      ' PG.CHAR2 AS GCHAR2,  '
      ' PG.CHAR3 AS GCHAR3,'
      ' A.BAZVALIUTA,'
      ' A.VALIUTA,'
      ' A.PVMBUDAS,'
      ' A.OPDATA AS VALDATA,'
      ' A.NUOLAIDA AS BNUOLAIDA,'
      ' A.EKSPORTAS,'
      ' A.PVMMOK,'
      ' A.NSB,'
      ' S.PAVADINIMAS AS SAN_PAVADINIMAS'
      'FROM MEDPARDAVIMU_IRASAI M'
      'INNER JOIN MEDPARDAVIMAI A ON (A.ID = M.ID)'
      'INNER JOIN PREKES P ON (M.PREKESID = P.ID)'
      'INNER JOIN PREKIU_GRUPES PG ON (P.GRUPESID = PG.ID)'
      'LEFT OUTER JOIN SANDELIAI S ON (S.ID = M.SANDELYS)'
      'WHERE (M.ID = :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 203
    Top = 745
    object dbxPardIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardIrasaiNr: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object dbxPardIrasaiKiekis: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxPardIrasaiValKaina: TFMTBCDField
      FieldName = 'VALKAINA'
      Precision = 15
      Size = 4
    end
    object dbxPardIrasaiSandelys: TIntegerField
      FieldName = 'SANDELYS'
    end
    object dbxPardIrasaiMID: TIntegerField
      FieldName = 'MID'
    end
    object dbxPardIrasaiNuolaida: TFloatField
      FieldName = 'NUOLAIDA'
    end
    object dbxPardIrasaiBazSavikaina: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxPardIrasaiBazVisoSavikaina: TFMTBCDField
      FieldName = 'BAZVISOSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxPardIrasaiBazKaina: TFMTBCDField
      FieldName = 'BAZKAINA'
      Precision = 15
      Size = 4
    end
    object dbxPardIrasaiK: TWideStringField
      FieldName = 'K'
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object dbxPardIrasaiKodas: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object dbxPardIrasaiBKodas: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object dbxPardIrasaiPavadinimas: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object dbxPardIrasaiMatas: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxPardIrasaiGKodas: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object dbxPardIrasaiEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxPardIrasaiEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object dbxPardIrasaiGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxPardIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object dbxPardIrasaiPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiGANuolaida: TWideStringField
      DisplayLabel = 'Nuolaida?'
      FieldName = 'GANUOLAIDA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiBazValiuta: TWideStringField
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object dbxPardIrasaiValiuta: TWideStringField
      FieldName = 'VALIUTA'
      ProviderFlags = []
      FixedChar = True
      Size = 3
    end
    object dbxPardIrasaiPVMBudas: TWideStringField
      FieldName = 'PVMBUDAS'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiValData: TDateField
      FieldName = 'VALDATA'
      ProviderFlags = []
    end
    object dbxPardIrasaiBNuolaida: TFloatField
      FieldName = 'BNUOLAIDA'
      ProviderFlags = []
    end
    object dbxPardIrasaiEksportas: TWideStringField
      FieldName = 'EKSPORTAS'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiPVMMok: TWideStringField
      FieldName = 'PVMMOK'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiSan_Pavadinimas: TWideStringField
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object dbxPardIrasaiMVKodas: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object dbxPardIrasaiKNKodas: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object dbxPardIrasaiNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object dbxPardIrasaiBrutto: TFloatField
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object dbxPardIrasaiNSB: TWideStringField
      FieldName = 'NSB'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiChar1: TWideStringField
      FieldName = 'CHAR1'
      ProviderFlags = []
      Size = 100
    end
    object dbxPardIrasaiChar2: TWideStringField
      FieldName = 'CHAR2'
      ProviderFlags = []
      Size = 100
    end
    object dbxPardIrasaiChar3: TWideStringField
      FieldName = 'CHAR3'
      ProviderFlags = []
      Size = 100
    end
    object dbxPardIrasaiGChar1: TWideStringField
      FieldName = 'GCHAR1'
      ProviderFlags = []
    end
    object dbxPardIrasaiGChar2: TWideStringField
      FieldName = 'GCHAR2'
      ProviderFlags = []
    end
    object dbxPardIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
    end
    object dbxPardIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxPardIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxPardIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object dbxPardIrasaiGChar3: TWideStringField
      FieldName = 'GCHAR3'
      ProviderFlags = []
    end
    object dbxPardIrasaivisoPlotas: TFloatField
      FieldName = 'visoPlotas'
    end
    object dbxPardIrasaivisoTuris: TFloatField
      FieldName = 'visoTuris'
    end
  end
  object dsxPardIrasai: TDataSource
    DataSet = dbxPardIrasai
    Left = 208
    Top = 789
  end
  object dbxPardKIrasai: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxPardIrasai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end
      item
        DataType = ftInteger
        Name = 'MID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GRUPESID,'
      ' P.KODAS,'
      ' P.BKODAS,'
      ' P.PAVADINIMAS,'
      ' P.MATAS,'
      ' P.GKODAS,'
      ' P.EKAKODAS,'
      ' P.EKAPAVADINIMAS,'
      ' P.MVKODAS, P.KNKODAS, '
      ' P.NETTO, P.BRUTTO,'
      ' PG.PAVADINIMAS AS GRPAVADINIMAS,'
      ' PG.PVM,'
      ' PG.PRPSL'
      'FROM MEDPARDAVIMU_KOMP_IRASAI M'
      'INNER JOIN PREKES P ON (M.PREKESID = P.ID)'
      'INNER JOIN PREKIU_GRUPES PG ON (P.GRUPESID = PG.ID)'
      'WHERE (M.ID = :ID) AND (M.MID = :MID)'
      '')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 280
    Top = 743
    object dbxPardKIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardKIrasaiMID: TIntegerField
      FieldName = 'MID'
      Required = True
    end
    object dbxPardKIrasaiNr: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardKIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object dbxPardKIrasaiKiekis: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxPardKIrasaiBazSavikaina: TFMTBCDField
      FieldName = 'BAZSAVIKAINA'
      Precision = 15
      Size = 4
    end
    object dbxPardKIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object dbxPardKIrasaiKodas: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object dbxPardKIrasaiBKodas: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object dbxPardKIrasaiPavadinimas: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object dbxPardKIrasaiMatas: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxPardKIrasaiGKodas: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object dbxPardKIrasaiEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxPardKIrasaiEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object dbxPardKIrasaiGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxPardKIrasaiPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object dbxPardKIrasaiPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardKIrasaiMVKodas: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object dbxPardKIrasaiKNKodas: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object dbxPardKIrasaiBrutto: TFloatField
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object dbxPardKIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object dbxPardKIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object dbxPardKIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxPardKIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxPardKIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxPardKIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardKIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxPardKIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object dbxPardKIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Required = True
      Size = 1
    end
    object dbxPardKIrasaiNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object dbxPardKIrasaiStringField: TWideStringField
      FieldName = 'SERNR'
    end
  end
  object dbxPardIrasaiSN: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    DataSource = dsxPardavimai
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Size = 4
      end>
    SQL.Strings = (
      'SELECT M.*,'
      ' P.GRUPESID,'
      ' P.KODAS,'
      ' P.BKODAS,'
      ' P.PAVADINIMAS,'
      ' P.MATAS,'
      ' P.GKODAS,'
      ' P.EKAKODAS,'
      ' P.EKAPAVADINIMAS,'
      ' P.NETTO, P.BRUTTO,'
      ' PG.PAVADINIMAS AS GRPAVADINIMAS,'
      ' PG.PVM,'
      ' PG.PRPSL,'
      ' S.PAVADINIMAS AS SAN_PAVADINIMAS'
      'FROM MEDPARDAVIMU_SER_IRASAI M'
      'INNER JOIN PREKES P ON (P.ID = M.PREKESID)'
      'INNER JOIN PREKIU_GRUPES PG ON (PG.ID = P.GRUPESID)'
      
        'LEFT OUTER JOIN MEDSN SN ON (SN.PREKESID = M.PREKESID) AND (SN.S' +
        'N = M.SERNR)'
      'LEFT OUTER JOIN SANDELIAI S ON (S.ID = M.SANDELYS)'
      'WHERE (M.ID = :ID)')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 282
    Top = 795
    object dbxPardIrasaiSNID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardIrasaiSNNr: TIntegerField
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object dbxPardIrasaiSNPrekesID: TIntegerField
      FieldName = 'PREKESID'
    end
    object dbxPardIrasaiSNSerNr: TWideStringField
      FieldName = 'SERNR'
    end
    object dbxPardIrasaiSNKiekis: TFloatField
      FieldName = 'KIEKIS'
    end
    object dbxPardIrasaiSNSandelys: TIntegerField
      FieldName = 'SANDELYS'
    end
    object dbxPardIrasaiSNGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object dbxPardIrasaiSNKodas: TWideStringField
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object dbxPardIrasaiSNBKodas: TWideStringField
      FieldName = 'BKODAS'
      ProviderFlags = []
      Size = 13
    end
    object dbxPardIrasaiSNPavadinimas: TWideStringField
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object dbxPardIrasaiSNMatas: TWideStringField
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxPardIrasaiSNBrutto: TFloatField
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object dbxPardIrasaiSNNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object dbxPardIrasaiSNGKodas: TWideStringField
      FieldName = 'GKODAS'
      ProviderFlags = []
    end
    object dbxPardIrasaiSNEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object dbxPardIrasaiSNEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object dbxPardIrasaiSNGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object dbxPardIrasaiSNPVM: TFloatField
      FieldName = 'PVM'
      ProviderFlags = []
    end
    object dbxPardIrasaiSNPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object dbxPardIrasaiSNSan_Pavadinimas: TWideStringField
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
  end
  object dspPardavimai: TDataSetProvider
    DataSet = dbxPardavimai
    Options = []
    UpdateMode = upWhereKeyOnly
    OnGetTableName = dspPardavimaiGetTableName
    Left = 352
    Top = 750
  end
  object tbPardavimai: TGamaClientDataSet
    Aggregates = <>
    AutoCalcFields = False
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = -1
      end>
    ProviderName = 'dspPardavimai'
    Left = 426
    Top = 740
    object tbPardavimaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbPardavimaiOpData: TDateField
      Tag = 1
      DisplayLabel = 'Data'
      FieldName = 'OPDATA'
      EditMask = '!0000/00/00;1;_'
    end
    object tbPardavimaiOpLaikas: TWideStringField
      Tag = 1
      DisplayLabel = 'Laikas'
      FieldName = 'OPLAIKAS'
      Visible = False
      EditMask = '!90:00;1;_'
      Size = 5
    end
    object tbPardavimaiNr: TWideStringField
      Tag = 1
      DisplayWidth = 8
      FieldName = 'NR'
      Required = True
    end
    object tbPardavimaiKlientas: TIntegerField
      FieldName = 'KLIENTAS'
      Required = True
      Visible = False
    end
    object tbPardavimaiKliento_IKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#303'm.kodas'
      DisplayWidth = 7
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_IKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiKliento_PVMKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo PVM kodas'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_PVMKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiKliento_Kodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo kodas'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_KODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbPardavimaiKliento_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo pavadinimas'
      DisplayWidth = 20
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_PAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object tbPardavimaiKliento_SalisA2: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#353'alies kodas A2'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_SALISA2'
      ProviderFlags = []
      Size = 2
    end
    object tbPardavimaiKliento_SalisA3: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#353'alies kodas A3'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_SALISA3'
      ProviderFlags = []
      Size = 3
    end
    object tbPardavimaiKliento_SalisPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo '#353'alis'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_SALISPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardavimaiKliento_SalisCountry: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo country'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_SALISCOUNTRY'
      ProviderFlags = []
      Size = 50
    end
    object tbPardavimaiKliento_Miestas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo miestas'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_MIESTAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardavimaiKliento_Indeksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo indeksas'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_INDEKSAS'
      ProviderFlags = []
      Size = 10
    end
    object tbPardavimaiKliento_Adresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo adresas'
      DisplayWidth = 20
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiKliento_Telefonas_faksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo telefonas/faksas'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_TELEFONAS_FAKSAS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbPardavimaiKliento_EMail: TWideStringField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo E-Mail'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_EMAIL'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiKliento_Nuolaida: TFloatField
      Tag = 1
      DisplayLabel = 'Gav'#279'jo Nuolaida'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_NUOLAIDA'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiKliento_URL: TWideStringField
      DisplayLabel = 'Gav'#279'jo URL'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_URL'
      ProviderFlags = []
      Size = 255
    end
    object tbPardavimaiMokDiena12: TIntegerField
      DisplayLabel = 'Gav'#279'jo Mok.Diena'
      FieldKind = fkInternalCalc
      FieldName = 'KLIENTO_MOKDIENA'
      ProviderFlags = []
    end
    object tbPardavimaiMoketojas: TIntegerField
      FieldName = 'MOKETOJAS'
      Visible = False
    end
    object tbPardavimaiMok_IKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo '#303'm.kodas'
      DisplayWidth = 7
      FieldKind = fkInternalCalc
      FieldName = 'MOK_IKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiMok_PVNKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo PVM kodas'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'MOK_PVMKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiMok_Kodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo kodas'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_KODAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbPardavimaiMok_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo pavadinimas'
      DisplayWidth = 20
      FieldKind = fkInternalCalc
      FieldName = 'MOK_PAVADINIMAS'
      ProviderFlags = []
      Size = 120
    end
    object tbPardavimaiMokSalisA2: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo '#353'alies kodas A2'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_SALISA2'
      ProviderFlags = []
      Size = 2
    end
    object tbPardavimaiMokSalisA3: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo '#353'alies kodas A3'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_SALISA3'
      ProviderFlags = []
      Size = 3
    end
    object tbPardavimaiMokSalisPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo '#353'alis'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_SALISPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardavimaiMokSalisCountry: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo country'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_SALISCOUNTRY'
      ProviderFlags = []
      Size = 50
    end
    object tbPardavimaiMokMiestas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo miestas'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_MIESTAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardavimaiMokIndeksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo indeksas'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_INDEKSAS'
      ProviderFlags = []
      Size = 10
    end
    object tbPardavimaiMok_Adresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo adresas'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_ADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiMok_Telefonas_faksas: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo telefonas/faksas'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_TELEFONAS_FAKSAS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbPardavimaiMok_EMail: TWideStringField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo E-Mail'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_EMAIL'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiMok_Nuolaida: TFloatField
      Tag = 1
      DisplayLabel = 'Mok'#279'tojo Nuolaida'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_NUOLAIDA'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiMok_URL: TWideStringField
      DisplayLabel = 'Mok'#279'tojo URL'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_URL'
      ProviderFlags = []
      Size = 255
    end
    object tbPardavimaiMokDiena1: TIntegerField
      DisplayLabel = 'Mok'#279'tojo Mok.Diena'
      FieldKind = fkInternalCalc
      FieldName = 'MOK_MOKDIENA'
      ProviderFlags = []
    end
    object tbPardavimaiAtsakingas: TIntegerField
      FieldName = 'ATSAKINGAS'
      Visible = False
    end
    object tbPardavimaiA_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pavard'#279
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'A_PAVARDE'
      ProviderFlags = []
      Size = 50
    end
    object tbPardavimaiA_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Atsakingo pareigos'
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'A_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbPardavimaiPr_isdave: TIntegerField
      FieldName = 'PR_ISDAVE'
      Visible = False
    end
    object tbPardavimaiP_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pavard'#279
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'P_PAVARDE'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiP_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Prekes i'#353'davusio pareigos'
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'P_PAREIGOS'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbPardavimaiVairuotojas: TIntegerField
      FieldName = 'VAIRUOTOJAS'
      Visible = False
    end
    object tbPardavimaiV_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pavard'#279
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'V_PAVARDE'
      KeyFields = 'Vairuotojas'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiV_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Vairuotojo pareigos'
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'V_PAREIGOS'
      KeyFields = 'Vairuotojas'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbPardavimaiTr_paeme: TIntegerField
      FieldName = 'TR_PAEME'
      Visible = False
    end
    object tbPardavimaiT_Pavarde: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pavard'#279
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'T_PAVARDE'
      KeyFields = 'Tr_paeme'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiT_Pareigos: TWideStringField
      Tag = 1
      DisplayLabel = 'Transportuoti pa'#279'musio pareigos'
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'T_PAREIGOS'
      KeyFields = 'Tr_paeme'
      ProviderFlags = []
      Visible = False
      Size = 30
    end
    object tbPardavimaiTransportas: TWideStringField
      Tag = 1
      DisplayLabel = 'Valst.Nr.'
      FieldName = 'TRANSPORTAS'
      Visible = False
      EditMask = 'AAAAAA;0;_'
      Size = 6
    end
    object tbPardavimaiMarke: TWideStringField
      Tag = 1
      DisplayLabel = 'Auto.mark'#279
      FieldKind = fkLookup
      FieldName = 'MARKE'
      LookupDataSet = dmBendras.tbTransportasLookup
      LookupKeyFields = 'Valst_nr'
      LookupResultField = 'Marke'
      KeyFields = 'Transportas'
      Visible = False
      Lookup = True
    end
    object tbPardavimaiSandelys: TIntegerField
      FieldName = 'SANDELYS'
      Required = True
      Visible = False
    end
    object tbPardavimaiSan_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Sand'#279'lis'
      DisplayWidth = 10
      FieldKind = fkInternalCalc
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = []
      Visible = False
      Size = 200
    end
    object tbPardavimaiSan_Adresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Sand'#279'lio adresas'
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'SAN_ADRESAS'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 200
    end
    object tbPardavimaiEksportas: TWideStringField
      Tag = 1
      FieldName = 'EKSPORTAS'
      Visible = False
      Size = 1
    end
    object tbPardavimaiValSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ Suma'
      DisplayWidth = 9
      FieldName = 'VALSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbPardavimaiNuolaida: TFloatField
      Tag = 1
      DisplayLabel = 'Nuol.%'
      DisplayWidth = 5
      FieldName = 'NUOLAIDA'
      Visible = False
    end
    object tbPardavimaiNSB: TWideStringField
      FieldName = 'NSB'
      FixedChar = True
      Size = 1
    end
    object tbPardavimaiValPVMSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = '$ PVM Suma'
      DisplayWidth = 6
      FieldName = 'VALPVMSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbPardavimaiValViso: TBCDField
      Tag = 1
      DisplayLabel = '$ Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'VALVISO'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbPardavimaiValiuta: TWideStringField
      Tag = 1
      DisplayLabel = '$'
      FieldName = 'VALIUTA'
      Required = True
      Size = 3
    end
    object tbPardavimaiVlt_Pavad: TWideStringField
      Tag = 1
      DisplayLabel = '$ pavadinimas'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_PAVAD'
      Visible = False
    end
    object tbPardavimaiVlt_Dalis: TWideStringField
      DisplayLabel = '$ dalis'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DALIS'
      Visible = False
      Size = 10
    end
    object tbPardavimaiValData: TDateField
      Tag = 1
      DisplayLabel = '$ data'
      FieldKind = fkInternalCalc
      FieldName = 'VALDATA'
      Visible = False
    end
    object tbPardavimaiVlt_Kursas: TFloatField
      Tag = 1
      DisplayLabel = '$ kursas'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_KURSAS'
      Visible = False
    end
    object tbPardavimaiVlt_Daugiklis: TIntegerField
      Tag = 1
      DisplayLabel = '$ daugiklis'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DAUGIKLIS'
      Visible = False
    end
    object tbPardavimaiBazSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      DisplayWidth = 9
      FieldName = 'BAZSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbPardavimaiBazPVMSuma: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.PVM Suma'
      DisplayWidth = 6
      FieldName = 'BAZPVMSUMA'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbPardavimaiBazViso: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Viso'
      DisplayWidth = 9
      FieldKind = fkInternalCalc
      FieldName = 'BAZVISO'
      DisplayFormat = '#,##0.00'
      Precision = 12
      Size = 2
    end
    object tbPardavimaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      Required = True
      Size = 3
    end
    object tbPardavimaiMID: TIntegerField
      FieldName = 'MID'
      Visible = False
    end
    object tbPardavimaiFaktura: TWideStringField
      DisplayLabel = 'Fakt'#363'ra'
      FieldName = 'FAKTURA'
      Visible = False
      Size = 1
    end
    object tbPardavimaiBazSavikaina: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      Visible = False
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object tbPardavimaiASID: TIntegerField
      FieldName = 'ASID'
      Visible = False
    end
    object tbPardavimaiBankas: TIntegerField
      FieldName = 'BANKAS'
      Visible = False
    end
    object tbPardavimaiBankoKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko kodas'
      DisplayWidth = 10
      FieldKind = fkInternalCalc
      FieldName = 'BANKOKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiBankoPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko pavadinimas'
      DisplayWidth = 25
      FieldKind = fkInternalCalc
      FieldName = 'BANKOPAVADINIMAS'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiBankoAdresas: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko adresas'
      DisplayWidth = 15
      FieldKind = fkInternalCalc
      FieldName = 'BANKOADRESAS'
      ProviderFlags = []
      Visible = False
      Size = 50
    end
    object tbPardavimaiBankoSWIFT: TWideStringField
      Tag = 1
      DisplayLabel = 'Banko SWIFT'
      DisplayWidth = 10
      FieldKind = fkInternalCalc
      FieldName = 'BANKOSWIFT'
      ProviderFlags = []
      Visible = False
    end
    object tbPardavimaiASNr: TWideStringField
      Tag = 1
      DisplayLabel = 'A/S Nr.'
      DisplayWidth = 20
      FieldName = 'ASNR'
      Visible = False
      Size = 50
    end
    object tbPardavimaiMokDiena: TIntegerField
      Tag = 1
      DisplayLabel = 'Mok.diena'
      DisplayWidth = 4
      FieldName = 'MOKDIENA'
      Visible = False
    end
    object tbPardavimaiMokData: TDateField
      DisplayLabel = 'Mok.data'
      FieldKind = fkInternalCalc
      FieldName = 'MOKDATA'
      ProviderFlags = []
    end
    object tbPardavimaiPVMMok: TWideStringField
      DisplayLabel = 'PVM Mok'#279'tojas'
      FieldName = 'PVMMOK'
      Visible = False
      Size = 1
    end
    object tbPardavimaiEKA: TWideStringField
      FieldName = 'EKA'
      Visible = False
      Size = 200
    end
    object tbPardavimaiPagal: TWideStringField
      Tag = 1
      DisplayLabel = 'Pagal'
      DisplayWidth = 20
      FieldName = 'PAGAL'
      Visible = False
      Size = 100
    end
    object tbPardavimaiPatvirtinta: TWideStringField
      DisplayLabel = 'Patvirtinta'
      FieldName = 'PATVIRTINTA'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbPardavimaiTurinys: TWideStringField
      DisplayLabel = 'Turinys'
      FieldName = 'TURINYS'
      ProviderFlags = []
      Visible = False
      Size = 100
    end
    object tbPardavimaiPVMBudas: TWideStringField
      Tag = 1
      DisplayLabel = 'PVM sk. b'#363'das'
      FieldName = 'PVMBUDAS'
      Visible = False
      Size = 1
    end
    object tbPardavimaiSKod: TWideStringField
      FieldName = 'SKOD'
      Size = 2
    end
    object tbPardavimaiSalis: TWideStringField
      DisplayLabel = #352'alis'
      FieldName = 'SALIS'
      Size = 2
    end
    object tbPardavimaiPSKod: TWideStringField
      FieldName = 'PSKOD'
      Size = 3
    end
    object tbPardavimaiTrKod: TWideStringField
      FieldName = 'TRKOD'
      Size = 1
    end
    object tbPardavimaiApKod: TWideStringField
      FieldName = 'APKOD'
      Size = 1
    end
    object tbPardavimaiAvansas: TWideStringField
      DisplayLabel = 'Avansas'
      FieldName = 'AVANSAS'
      Size = 1
    end
    object tbPardavimaidbxPardIrasai: TDataSetField
      FieldName = 'DBXPARDIRASAI'
      Visible = False
    end
    object tbPardavimaidbxPardIrasaiSN: TDataSetField
      FieldName = 'DBXPARDIRASAISN'
      Visible = False
    end
    object tbPardavimaiTK: TWideStringField
      FieldKind = fkInternalCalc
      FieldName = 'TK'
      Visible = False
      Size = 1
    end
    object tbPardavimaiDepID: TIntegerField
      FieldName = 'DEPID'
    end
    object tbPardavimaiFSID: TIntegerField
      FieldName = 'FSID'
    end
  end
  object dsPardavimai: TDataSource
    DataSet = tbPardavimai
    Left = 434
    Top = 753
  end
  object tbPardIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    DataSetField = tbPardavimaidbxPardIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 508
    Top = 748
    object tbPardIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbPardIrasaiENr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object tbPardIrasaiNr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbPardIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
      Required = True
      Visible = False
    end
    object tbPardIrasaiKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Kodas'
      DisplayWidth = 12
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object tbPardIrasaiBKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Br.Kodas'
      DisplayWidth = 13
      FieldName = 'BKODAS'
      ProviderFlags = []
      Visible = False
      Size = 13
    end
    object tbPardIrasaiGKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardIrasaiPavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Pavadinimas'
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object tbPardIrasaiPilnasPavadinimas: TWideStringField
      DisplayLabel = 'Pilnas pavadinimas'
      FieldKind = fkInternalCalc
      FieldName = 'PILNASPAVADINIMAS'
      ProviderFlags = []
      Visible = False
      Size = 1000
    end
    object tbPardIrasaiMatas: TWideStringField
      Tag = 1
      DisplayLabel = 'Matas'
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object tbPardIrasaiPrPsl: TWideStringField
      DisplayLabel = 'Pr.Psl.'
      FieldName = 'PRPSL'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbPardIrasaiPVM: TFloatField
      DisplayWidth = 5
      FieldName = 'PVM'
      ProviderFlags = []
      Visible = False
    end
    object tbPardIrasaiKiekis: TFloatField
      DisplayWidth = 5
      FieldName = 'KIEKIS'
      Required = True
    end
    object tbPardIrasaiPVMCalc: TFloatField
      FieldKind = fkInternalCalc
      FieldName = 'PVMCALC'
      ProviderFlags = []
      Visible = False
    end
    object tbPardIrasaiPVMTarifas: TFloatField
      Tag = 1
      DisplayLabel = 'PVM'
      DisplayWidth = 5
      FieldKind = fkInternalCalc
      FieldName = 'PVMTARIFAS'
      ProviderFlags = [pfInWhere]
      DisplayFormat = '# %;-;-'
    end
    object tbPardIrasaiValKaina: TFMTBCDField
      DisplayLabel = '$ Kaina'
      DisplayWidth = 8
      FieldName = 'VALKAINA'
      Required = True
      DisplayFormat = '#,##0.00'
      EditFormat = '0.00'
      Precision = 14
    end
    object tbPardIrasaiValSuma: TBCDField
      Tag = 1
      DisplayLabel = '$ Suma'
      DisplayWidth = 10
      FieldKind = fkInternalCalc
      FieldName = 'VALSUMA'
      ProviderFlags = [pfInWhere]
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiValKainaSuPVM: TBCDField
      Tag = 1
      DisplayLabel = '$ Kaina su PVM'
      FieldKind = fkInternalCalc
      FieldName = 'VALKAINASUPVM'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiNuolaida: TFloatField
      Tag = 1
      DisplayLabel = 'Nuol.%'
      DisplayWidth = 5
      FieldName = 'NUOLAIDA'
      DisplayFormat = '0.## %;(0.##) %;-'
    end
    object tbPardIrasaiValGKainaSuPVM: TBCDField
      Tag = 1
      DisplayLabel = '$ Gal.Kaina su PVM'
      FieldKind = fkInternalCalc
      FieldName = 'VALGKAINASUPVM'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiValNSuma: TBCDField
      Tag = 1
      DisplayLabel = '$ Nuol.Suma'
      FieldKind = fkInternalCalc
      FieldName = 'VALNSUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiValGSuma: TBCDField
      Tag = 1
      DisplayLabel = '$ Gal.Suma'
      FieldKind = fkInternalCalc
      FieldName = 'VALGSUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiValPVMSuma: TBCDField
      Tag = 1
      DisplayLabel = '$ PVM Suma'
      DisplayWidth = 8
      FieldKind = fkInternalCalc
      FieldName = 'VALPVMSUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiValViso: TBCDField
      Tag = 1
      DisplayLabel = '$ Viso'
      FieldKind = fkInternalCalc
      FieldName = 'VALVISO'
      ProviderFlags = [pfInWhere]
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiValData: TDateField
      DisplayLabel = '$ Data'
      FieldName = 'VALDATA'
      ProviderFlags = []
      Visible = False
    end
    object tbPardIrasaiValiuta: TWideStringField
      Tag = 1
      DisplayLabel = '$'
      FieldName = 'VALIUTA'
      ProviderFlags = []
      Size = 3
    end
    object tbPardIrasaiBazKaina: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Kaina'
      DisplayWidth = 8
      FieldName = 'BAZKAINA'
      Required = True
      Visible = False
      DisplayFormat = '#,##0.00'
      EditFormat = '0.00'
      Precision = 14
    end
    object tbPardIrasaiBazSuma: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Suma'
      DisplayWidth = 10
      FieldKind = fkInternalCalc
      FieldName = 'BAZSUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiBazKainaSuPVM: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Kaina su PVM'
      FieldKind = fkInternalCalc
      FieldName = 'BAZKAINASUPVM'
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiBazGKainaSuPVM: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Gal.Kaina su PVM'
      FieldKind = fkInternalCalc
      FieldName = 'BAZGKAINASUPVM'
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiBazNSuma: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Nuol.Suma'
      FieldKind = fkInternalCalc
      FieldName = 'BAZNSUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiBazGSuma: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Gal.Suma'
      FieldKind = fkInternalCalc
      FieldName = 'BAZGSUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiBazPVMSuma: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.PVM Suma'
      DisplayWidth = 8
      FieldKind = fkInternalCalc
      FieldName = 'BAZPVMSUMA'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiBazViso: TBCDField
      Tag = 1
      DisplayLabel = 'Baz.Viso'
      FieldKind = fkInternalCalc
      FieldName = 'BAZVISO'
      ProviderFlags = [pfInWhere]
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldName = 'BAZVALIUTA'
      ProviderFlags = []
      Visible = False
      Size = 3
    end
    object tbPardIrasaiSandelys: TIntegerField
      DisplayWidth = 2
      FieldName = 'SANDELYS'
      Required = True
      Visible = False
    end
    object tbPardIrasaiSan_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Sand'#279'lis'
      DisplayWidth = 10
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object tbPardIrasaiPVMBudas: TWideStringField
      DisplayLabel = 'PVM B'#363'das'
      FieldName = 'PVMBUDAS'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbPardIrasaiPVMMok: TWideStringField
      DisplayLabel = 'PVM Mok'#279'tojas'
      FieldName = 'PVMMOK'
      ProviderFlags = []
      Visible = False
      FixedChar = True
      Size = 1
    end
    object tbPardIrasaiEksportas: TWideStringField
      DisplayLabel = 'Eksportas'
      FieldName = 'EKSPORTAS'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbPardIrasaiNSB: TWideStringField
      FieldName = 'NSB'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbPardIrasaiBNuolaida: TFloatField
      DisplayLabel = 'Bendra Nuol.%'
      FieldName = 'BNUOLAIDA'
      ProviderFlags = []
      Visible = False
      DisplayFormat = '0.## %;(0.##) %;-'
    end
    object tbPardIrasaiVlt_Pavad: TWideStringField
      DisplayLabel = '$ pavadinimas'
      FieldKind = fkLookup
      FieldName = 'VLT_PAVAD'
      LookupDataSet = dmBendras.tbValiutosLookup
      LookupKeyFields = 'Kodas'
      LookupResultField = 'Pavadinimas'
      KeyFields = 'Valiuta'
      ProviderFlags = []
      Visible = False
      Lookup = True
    end
    object tbPardIrasaiVlt_Daugiklis: TIntegerField
      DisplayLabel = '$ daugiklis'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_DAUGIKLIS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbPardIrasaiVlt_Kursas: TBCDField
      DisplayLabel = '$ kursas'
      FieldKind = fkInternalCalc
      FieldName = 'VLT_KURSAS'
      ProviderFlags = [pfInWhere]
      Visible = False
    end
    object tbPardIrasaiBazSavikaina: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      Visible = False
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object tbPardIrasaiBazVisoSavikaina: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Viso Savikaina'
      FieldName = 'BAZVISOSAVIKAINA'
      Visible = False
      DisplayFormat = '#,##0.00'
      Precision = 14
    end
    object tbPardIrasaiK: TWideStringField
      FieldName = 'K'
      Visible = False
      Size = 1
    end
    object tbPardIrasaiMID: TIntegerField
      FieldName = 'MID'
      Visible = False
    end
    object tbPardIrasaidbxPardKIrasai: TDataSetField
      FieldName = 'DBXPARDKIRASAI'
      Visible = False
    end
    object tbPardIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object tbPardIrasaiEKAKodas: TWideStringField
      DisplayLabel = 'EKA Kodas'
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object tbPardIrasaiEKAPavadinimas: TWideStringField
      DisplayLabel = 'EKA Pavadinimas'
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object tbPardIrasaiGrPavadinimas: TWideStringField
      DisplayLabel = 'Grup'#279's Pavadinimas'
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardIrasaiNetto: TFloatField
      DisplayLabel = 'Netto'
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object tbPardIrasaiBrutto: TFloatField
      DisplayLabel = 'Brutto'
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object tbPardIrasaiKNKodas: TWideStringField
      DisplayLabel = 'KN Kodas'
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object tbPardIrasaiMVKodas: TWideStringField
      DisplayLabel = 'MV KOdas'
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object tbPardIrasaiGANuolaida: TWideStringField
      DisplayLabel = 'Nuolaida?'
      FieldName = 'GANUOLAIDA'
      ProviderFlags = []
      FixedChar = True
      Size = 1
    end
    object tbPardIrasaiChar1: TWideStringField
      DisplayLabel = 'Spec.char.1'
      FieldName = 'CHAR1'
      ProviderFlags = []
      Size = 100
    end
    object tbPardIrasaiChar2: TWideStringField
      DisplayLabel = 'Spec.char.2'
      FieldName = 'CHAR2'
      ProviderFlags = []
      Size = 100
    end
    object tbPardIrasaiChar3: TWideStringField
      DisplayLabel = 'Spec.char.3'
      FieldName = 'CHAR3'
      ProviderFlags = []
      Size = 100
    end
    object tbPardIrasaiGChar1: TWideStringField
      DisplayLabel = 'Pav.spec.char.1'
      FieldName = 'GCHAR1'
      ProviderFlags = []
    end
    object tbPardIrasaiGChar2: TWideStringField
      DisplayLabel = 'Pav.spec.char.2'
      FieldName = 'GCHAR2'
      ProviderFlags = []
    end
    object tbPardIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
    end
    object tbPardIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPardIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPardIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbPardIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbPardIrasaivisoPlotas: TFloatField
      FieldName = 'visoPlotas'
    end
    object tbPardIrasaivisoTuris: TFloatField
      FieldName = 'visoTuris'
    end
    object tbPardIrasaiGChar3: TWideStringField
      DisplayLabel = 'Pav.spec.char.3'
      FieldName = 'GCHAR3'
      ProviderFlags = []
    end
    object tbPardIrasaiSFKiekis: TFloatField
      FieldKind = fkInternalCalc
      FieldName = 'SFKiekis'
    end
    object tbPardIrasaiSum_BazGSuma: TAggregateField
      FieldName = 'SUM_BAZGSUMA'
      Active = True
      Expression = 'Sum(BAZGSUMA)'
    end
    object tbPardIrasaiSum_BazPVMSuma: TAggregateField
      FieldName = 'SUM_BAZPVMSUMA'
      Active = True
      Expression = 'Sum(BAZPVMSUMA)'
    end
    object tbPardIrasaiSum_ValGSuma: TAggregateField
      FieldName = 'SUM_VALGSUMA'
      Active = True
      Expression = 'Sum(VALGSUMA)'
    end
    object tbPardIrasaiSum_ValPVMSuma: TAggregateField
      FieldName = 'SUM_VALPVMSUMA'
      Active = True
      Expression = 'Sum(VALPVMSUMA)'
    end
    object tbPardIrasaiMaxNr: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(NR)'
    end
    object tbPardIrasaiSum_ValViso: TAggregateField
      FieldName = 'SUM_VALVISO'
      Active = True
      Expression = 'Sum(VALVISO)'
    end
    object tbPardIrasaiSum_BazViso: TAggregateField
      FieldName = 'SUM_BAZVISO'
      Active = True
      Expression = 'Sum(BAZVISO)'
    end
  end
  object dsPardIrasai: TDataSource
    AutoEdit = False
    DataSet = tbPardIrasai
    Left = 513
    Top = 761
  end
  object tbPardKIrasai: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    DataSetField = tbPardIrasaidbxPardKIrasai
    IndexFieldNames = 'NR'
    Params = <>
    Left = 556
    Top = 724
    object tbPardKIrasaiID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbPardKIrasaiMID: TIntegerField
      FieldName = 'MID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbPardKIrasaiNr: TIntegerField
      DisplayWidth = 3
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object tbPardKIrasaiENr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object tbPardKIrasaiPrekesID: TIntegerField
      FieldName = 'PREKESID'
      Required = True
      Visible = False
    end
    object tbPardKIrasaiKodas: TWideStringField
      Tag = 10
      DisplayWidth = 12
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object tbPardKIrasaiBKodas: TWideStringField
      Tag = 10
      DisplayLabel = 'Br.Kodas'
      DisplayWidth = 13
      FieldName = 'BKODAS'
      ProviderFlags = []
      Visible = False
      Size = 13
    end
    object tbPardKIrasaiGKodas: TWideStringField
      Tag = 10
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardKIrasaiPavadinimas: TWideStringField
      Tag = 10
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object tbPardKIrasaiMatas: TWideStringField
      Tag = 1
      DisplayWidth = 5
      FieldName = 'MATAS'
      ProviderFlags = []
      Size = 10
    end
    object tbPardKIrasaiPVM: TFloatField
      Tag = 1
      DisplayWidth = 5
      FieldName = 'PVM'
      ProviderFlags = []
      Visible = False
    end
    object tbPardKIrasaiPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbPardKIrasaiKiekis: TFloatField
      DisplayWidth = 5
      FieldName = 'KIEKIS'
      Required = True
    end
    object tbPardKIrasaiBazSavikaina: TFMTBCDField
      Tag = 1
      DisplayLabel = 'Baz.Savikaina'
      FieldName = 'BAZSAVIKAINA'
      Visible = False
      DisplayFormat = '#,##0.0000'
      Precision = 14
    end
    object tbPardKIrasaiBazValiuta: TWideStringField
      Tag = 1
      DisplayLabel = 'Baz.$'
      FieldKind = fkInternalCalc
      FieldName = 'BAZVALIUTA'
      ProviderFlags = [pfInWhere]
      Visible = False
      Size = 3
    end
    object tbPardKIrasaiGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object tbPardKIrasaiEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object tbPardKIrasaiEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object tbPardKIrasaiGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardKIrasaiMVKodas: TWideStringField
      FieldName = 'MVKODAS'
      ProviderFlags = []
      Size = 4
    end
    object tbPardKIrasaiKNKodas: TWideStringField
      FieldName = 'KNKODAS'
      ProviderFlags = []
      Size = 8
    end
    object tbPardKIrasaiBrutto: TFloatField
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object tbPardKIrasaiPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
      Required = True
    end
    object tbPardKIrasaiPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object tbPardKIrasaistoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPardKIrasaiplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPardKIrasaiilgis: TFloatField
      DisplayLabel = 'Ilgis, m'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPardKIrasairusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbPardKIrasaiplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'plotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPardKIrasaituris: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'turis'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbPardKIrasaitipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Required = True
      Size = 1
    end
    object tbPardKIrasaiNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object tbPardKIrasaiStringField: TWideStringField
      FieldName = 'SERNR'
    end
    object tbPardKIrasaiMaxNr: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
  end
  object dsPardKIrasai: TDataSource
    AutoEdit = False
    DataSet = tbPardKIrasai
    Left = 576
    Top = 737
  end
  object tbPardIrasaiSN: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    AutoCalcFields = False
    DataSetField = tbPardavimaidbxPardIrasaiSN
    IndexFieldNames = 'NR'
    Params = <>
    Left = 596
    Top = 780
    object tbPardIrasaiSNID: TIntegerField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      Visible = False
    end
    object tbPardIrasaiSNNr: TIntegerField
      DisplayWidth = 3
      FieldName = 'NR'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      Visible = False
    end
    object tbPardIrasaiSNENr: TIntegerField
      DisplayLabel = 'Nr'
      DisplayWidth = 3
      FieldKind = fkCalculated
      FieldName = 'ENR'
      Calculated = True
    end
    object tbPardIrasaiSNPrekesID: TIntegerField
      FieldName = 'PREKESID'
      Visible = False
    end
    object tbPardIrasaiSNKodas: TWideStringField
      DisplayWidth = 12
      FieldName = 'KODAS'
      ProviderFlags = []
    end
    object tbPardIrasaiSNBKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Br.Kodas'
      DisplayWidth = 13
      FieldName = 'BKODAS'
      ProviderFlags = []
      Visible = False
      Size = 13
    end
    object tbPardIrasaiSNGKodas: TWideStringField
      Tag = 1
      DisplayLabel = 'Gam.Kodas'
      FieldName = 'GKODAS'
      ProviderFlags = []
      Visible = False
    end
    object tbPardIrasaiSNPavadinimas: TWideStringField
      Tag = 1
      DisplayWidth = 20
      FieldName = 'PAVADINIMAS'
      ProviderFlags = []
      Size = 150
    end
    object tbPardIrasaiSNPVM: TFloatField
      Tag = 1
      DisplayWidth = 5
      FieldName = 'PVM'
      ProviderFlags = []
      Visible = False
    end
    object tbPardIrasaiSNPrPsl: TWideStringField
      FieldName = 'PRPSL'
      ProviderFlags = []
      Visible = False
      Size = 1
    end
    object tbPardIrasaiSNMatas: TWideStringField
      Tag = 1
      FieldName = 'MATAS'
      ProviderFlags = []
      Visible = False
      Size = 10
    end
    object tbPardIrasaiSNBrutto: TFloatField
      FieldName = 'BRUTTO'
      ProviderFlags = []
    end
    object tbPardIrasaiSNNetto: TFloatField
      FieldName = 'NETTO'
      ProviderFlags = []
    end
    object tbPardIrasaiSNSandelys: TIntegerField
      FieldName = 'SANDELYS'
      Visible = False
    end
    object tbPardIrasaiSNSan_Pavadinimas: TWideStringField
      Tag = 1
      DisplayLabel = 'Sand'#279'lis'
      DisplayWidth = 10
      FieldName = 'SAN_PAVADINIMAS'
      ProviderFlags = []
      Size = 200
    end
    object tbPardIrasaiSNSerNr: TWideStringField
      Tag = 1
      DisplayLabel = 'Ser.Nr.'
      FieldName = 'SERNR'
    end
    object tbPardIrasaiSNKiekis: TFloatField
      Tag = 1
      FieldName = 'KIEKIS'
    end
    object tbPardIrasaiSNGrupesID: TIntegerField
      FieldName = 'GRUPESID'
      ProviderFlags = []
    end
    object tbPardIrasaiSNEKAKodas: TWideStringField
      FieldName = 'EKAKODAS'
      ProviderFlags = []
      Size = 10
    end
    object tbPardIrasaiSNEKAPavadinimas: TWideStringField
      FieldName = 'EKAPAVADINIMAS'
      ProviderFlags = []
    end
    object tbPardIrasaiSNGrPavadinimas: TWideStringField
      FieldName = 'GRPAVADINIMAS'
      ProviderFlags = []
      Size = 50
    end
    object tbPardIrasaiSNMaxNr: TAggregateField
      FieldName = 'MAXNR'
      Active = True
      Expression = 'Max(Nr)'
    end
  end
  object dsPardIrasaiSN: TDataSource
    DataSet = tbPardIrasaiSN
    Left = 611
    Top = 793
  end
  object dbxPardLookup: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
      end>
    SQL.Strings = (
      'SELECT * FROM medpardavimai'
      'WHERE ID = :ID')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 655
    Top = 728
  end
  object dspPardLookup: TDataSetProvider
    DataSet = dbxPardLookup
    Options = []
    Left = 673
    Top = 740
  end
  object tbPardLookup: TGamaClientDataSet
    Aggregates = <>
    AutoCalcFields = False
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
      end>
    ProviderName = 'dspPardLookup'
    Left = 686
    Top = 755
  end
  object dbxMedLikuciaiDet: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'PrekesID'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftUnknown
        Name = 'PNr'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'storis'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'plotis'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'rusis'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'Data'
        ParamType = ptInput
        Value = 0d
      end>
    SQL.Strings = (
      'SELECT PK.PREKESID,'
      '        SN.SN,'
      '        SN.pnr,'
      '        SN.pakNr,'
      '        SN.storis,'
      '        SN.plotis,'
      '        SN.ilgis,'
      '        SN.rusis,'
      '        SN.tipas,'
      '        SN.turis AS vntTuris,'
      '        SN.plotas AS vntPlotas,'
      '        SN.kaina,'
      '        SN.kainaDarb,'
      '        SN.kainaSausa,'
      '        MAX(PK.DATA) AS Data,'
      '        SUM(PK.kiekis*SN.turis) AS visoTuris,'
      '        SUM(PK.kiekis*SN.plotas) AS visoPlotas,'
      '        SUM(PK.kiekis) AS kiekis'
      'FROM prekiu_kartotekos PK'
      
        'LEFT OUTER JOIN medSN SN ON (SN.PREKESID = PK.PREKESID AND SN.SN' +
        ' = PK.SERNR)'
      'WHERE (PK.PREKESID = :PrekesID AND SN.pnr = :PNr'
      '        AND SN.storis = :storis AND SN.plotis = :plotis'
      '        AND SN.rusis = :rusis AND PK.Data <= :Data)'
      'GROUP BY'
      '        PK.PREKESID,'
      '        SN.SN,'
      '        SN.pnr,'
      '        SN.pakNr,'
      '        SN.storis,'
      '        SN.plotis,'
      '        SN.ilgis,'
      '        SN.rusis,'
      '        SN.tipas,'
      '        SN.kaina,'
      '        SN.kainaDarb,'
      '        SN.turis,'
      '        SN.plotas,'
      '        SN.kainaSausa'
      'HAVING (SUM(PK.kiekis) > 0.5) AND (SN.pnr <> '#39#39')')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 440
    Top = 65535
  end
  object tbMedLikuciaiDet: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    Params = <
      item
        DataType = ftInteger
        Name = 'PrekesID'
        ParamType = ptInput
        Value = '-1'
      end
      item
        DataType = ftUnknown
        Name = 'PNr'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'storis'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'plotis'
        ParamType = ptInput
      end
      item
        DataType = ftUnknown
        Name = 'rusis'
        ParamType = ptInput
      end
      item
        DataType = ftDate
        Name = 'Data'
        ParamType = ptInput
        Value = 0d
      end>
    ProviderName = 'dspMedLikuciaiDet'
    Left = 470
    Top = 26
    object tbMedLikuciaiDetPrekesID: TIntegerField
      DisplayLabel = 'Prekes ID'
      FieldName = 'PrekesID'
      Required = True
    end
    object tbMedLikuciaiDetPNr: TWideStringField
      DisplayLabel = 'Palet'#279's Nr'
      FieldName = 'PNr'
    end
    object tbMedLikuciaiDetPakNr: TWideStringField
      DisplayLabel = 'Pakelio Nr'
      FieldName = 'PakNr'
    end
    object tbMedLikuciaiDetstoris: TFloatField
      DisplayLabel = 'Storis, m'
      FieldName = 'storis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedLikuciaiDetplotis: TFloatField
      DisplayLabel = 'Plotis, m'
      FieldName = 'plotis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedLikuciaiDetilgis: TFloatField
      DisplayLabel = 'Ilgis'
      FieldName = 'ilgis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedLikuciaiDetrusis: TWideStringField
      DisplayLabel = 'R'#363#353'is'
      FieldName = 'rusis'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object tbMedLikuciaiDetturis: TFloatField
      DisplayLabel = 'T'#363'ris'
      FieldName = 'vntTuris'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedLikuciaiDetplotas: TFloatField
      DisplayLabel = 'Plotas'
      FieldName = 'vntPlotas'
      DisplayFormat = '0.0000'
      EditFormat = '0.0000'
    end
    object tbMedLikuciaiDettipas: TWideStringField
      DisplayLabel = 'Prek'#279's tipas'
      FieldName = 'tipas'
      Size = 1
    end
    object tbMedLikuciaiDetkaina: TFMTBCDField
      FieldName = 'kaina'
    end
    object tbMedLikuciaiDetkainaDarb: TFMTBCDField
      FieldName = 'kainaDarb'
    end
    object tbMedLikuciaiDetkainaSausa: TFMTBCDField
      FieldName = 'kainaSausa'
    end
    object tbMedLikuciaiDetvisoPlotas: TFloatField
      DisplayLabel = 'Viso, m'#178
      FieldName = 'visoPlotas'
      DisplayFormat = '0.0000'
    end
    object tbMedLikuciaiDetdata: TDateField
      FieldName = 'data'
    end
    object tbMedLikuciaiDetvisoTuris: TFloatField
      DisplayLabel = 'Viso, m'#179
      FieldName = 'visoTuris'
      DisplayFormat = '0.0000'
    end
    object tbMedLikuciaiDetkiekis: TFloatField
      FieldName = 'kiekis'
    end
    object tbMedLikuciaiDetSN: TWideStringField
      FieldName = 'SN'
    end
  end
  object dsMedLikuciai: TDataSource
    AutoEdit = False
    DataSet = tbMedLikuciai
    Left = 384
    Top = 37
  end
  object dsMedLikuciaiDet: TDataSource
    AutoEdit = False
    DataSet = tbMedLikuciaiDet
    Left = 480
    Top = 45
  end
  object dspMedLikuciaiDet: TDataSetProvider
    DataSet = dbxMedLikuciaiDet
    Options = [poDisableInserts, poDisableEdits, poDisableDeletes, poAllowCommandText, poUseQuoteChar]
    UpdateMode = upWhereKeyOnly
    Left = 456
    Top = 13
  end
  object dbxMedPrekesTipas: TSQLQuery
    GetMetadata = True
    NumericMapping = True
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = '-1'
      end>
    SQL.Strings = (
      'SELECT *'
      'FROM MedPrekesTipas')
    SQLConnection = dmBendras.SQLConnectionGama
    Left = 600
    Top = 65535
    object dbxMedPrekesTipasTIPAS: TWideStringField
      FieldName = 'TIPAS'
      Required = True
      Size = 1
    end
    object dbxMedPrekesTipasPAVADINIMAS: TWideStringField
      FieldName = 'PAVADINIMAS'
      Required = True
    end
  end
  object dspMedPrekesTipas: TDataSetProvider
    DataSet = dbxMedPrekesTipas
    Options = []
    UpdateMode = upWhereKeyOnly
    Left = 616
    Top = 13
  end
  object tbMedPrekesTipas: TGamaClientDataSet
    Aggregates = <>
    AggregatesActive = True
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
        Value = '-1'
      end>
    ProviderName = 'dspMedPrekesTipas'
    Left = 630
    Top = 26
    object tbMedPrekesTipasTIPAS: TWideStringField
      FieldName = 'TIPAS'
      Required = True
      Size = 1
    end
    object tbMedPrekesTipasPAVADINIMAS: TWideStringField
      FieldName = 'PAVADINIMAS'
      Required = True
    end
  end
  object dsMedPrekesTipas: TDataSource
    AutoEdit = False
    DataSet = tbMedPrekesTipas
    Left = 640
    Top = 37
  end
end
